Code Monkey home page Code Monkey logo

Comments (7)

ni-c avatar ni-c commented on September 25, 2024

Hey!

You can close heimcontrol.js by pressing CTRL+C.

Very strange behaviour, sounds like a filesystem issue. Maybe you have turned off your Raspberry without shutting down with sudo shutdown -h now?

from heimcontrol.js.

dammianhr avatar dammianhr commented on September 25, 2024

hello!
now, reinstall heimcontrol.js scrips, use it, so I closed with CTRL + C, shutdown the raspberry with sudo shutdown -h now. then turn o, run the script and got the same error log u.u

info - socket.io started
connect.multipart() will be removed in connect 3.0
visit https://github.com/senchalabs/connect/wiki/Connect-3.0 for alternatives
connect.limit() will be removed in connect 3.0

/home/pi/heimcontrol.js/node_modules/mongodb/lib/mongodb/db.js:286
throw err;
^
ReferenceError: requirejs is not defined
at requireRecursive (/home/pi/heimcontrol.js/libs/PluginHelper.js:57:7)
at PluginHelper.getPluginList (/home/pi/heimcontrol.js/libs/PluginHelper.js:67:5)
at /home/pi/heimcontrol.js/heimcontrol.js:167:32
at /home/pi/heimcontrol.js/node_modules/mongodb/lib/mongodb/db.js:283:11
at process._tickCallback (node.js:415:13)

thank you very much for sharing!!!!!!

from heimcontrol.js.

mduffin95 avatar mduffin95 commented on September 25, 2024

I too am experiencing this problem:

info  - socket.io started
connect.multipart() will be removed in connect 3.0
visit https://github.com/senchalabs/connect/wiki/Connect-3.0 for alternatives
connect.limit() will be removed in connect 3.0

/home/pi/heimcontrol.js/node_modules/mongodb/lib/mongodb/db.js:286
          throw err;
                ^
ReferenceError: requirejs is not defined
    at requireRecursive (/home/pi/heimcontrol.js/libs/PluginHelper.js:57:7)
    at PluginHelper.getPluginList (/home/pi/heimcontrol.js/libs/PluginHelper.js:67:5)
    at /home/pi/heimcontrol.js/heimcontrol.js:169:32
    at /home/pi/heimcontrol.js/node_modules/mongodb/lib/mongodb/db.js:283:11
    at process._tickCallback (node.js:419:13)

Strangely I only get this error when I am running the app from outside of its directory. If I cd into the directory where heimcontrol.js is stored, and run node heimcontrol.js it works fine. If I go one level up and type node heimcontrol.js/heimcontrol.js I then get the above error.

from heimcontrol.js.

Gagnon06 avatar Gagnon06 commented on September 25, 2024

Same thing as ascent95 here. Somebody found a solution? Cause I want to run heimcomtrol as a service with the forever module and I get this error.

from heimcontrol.js.

tjanson avatar tjanson commented on September 25, 2024

Does this work?

from heimcontrol.js.

Gagnon06 avatar Gagnon06 commented on September 25, 2024

Yes it's working! Thanks!!

from heimcontrol.js.

viru-git avatar viru-git commented on September 25, 2024

How to run heimcontrol.js on windows system, what installations are required and what is the procedure to follow.

from heimcontrol.js.

Related Issues (20)

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.