Closed dammianhr closed 9 years ago
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
?
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!!!!!!
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.
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.
Does this work?
Yes it's working! Thanks!!
How to run heimcontrol.js on windows system, what installations are required and what is the procedure to follow.
hello, i follow all the steps to install and the first time run nice! close the ssh windows and re run heimcontrol.js
/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)
anyone know what happens?
if remove, reinstall heimcontrol.js... run nice.