Giter Club home page Giter Club logo

Comments (4)

ObT1337 avatar ObT1337 commented on May 22, 2024 1

Yes it does. One has always to be in the directory node-snapdrop and then execute node index.js.

Thanks again!

from node-snapdrop.

Bellisario avatar Bellisario commented on May 22, 2024

Could you please try with the latest commit?

I'm not sure about the error you're facing, but that could be because of a bad index.html handling.
With the change I made, the / (homepage) is loaded directly by the browser, which will find index.html and load it itself. Before it could be handled both by browser and server (I think that could be the issue).

from node-snapdrop.

ObT1337 avatar ObT1337 commented on May 22, 2024

It seems to work!

Thank you for your quick support 👍

Edit:

Sorry to say: It did not :(. I tried again after setup the automatically start after reboot of the system and now the error remains.
The Raspberry Pi is running OMV6 and I added the command
node /home/pi/node-snapdrop/index.js
to the planned jobs (-> run this command after rebooting)

Also, when I now start the server manually the same error occurs.
Any suggestion, how I can integrate it to my setup?

Edit 2:

Just checked, it seems to be necessary to navigate to the directory and then run:
node index.js

from node-snapdrop.

Bellisario avatar Bellisario commented on May 22, 2024

@ObT1337 so it works now?

from node-snapdrop.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.