Free Discussion

73 views
Skip to first unread message

Jussi Vatjus-Anttila

unread,
Mar 16, 2013, 4:28:18 AM3/16/13
to node-home-...@googlegroups.com

Ken Goldstein

unread,
Jul 2, 2013, 10:35:37 PM7/2/13
to node-home-...@googlegroups.com
I installed everything as per instructions on a Ubuntu 13.04 box.
Afterwards, I ran:
/opt/node-home-automation# node-dev ./app.js
but it didn't appear to do anything.
I went to http://localhost:3010/ and got webpage unavailable.
I stopped and started mongodb,

I am not a node.js - mongodb programmer, but I installed this project thinking that it might be a good place to learn.
Any suggestions?

Thanks,
Ken

Jussi Vatjus-Anttila

unread,
Jul 3, 2013, 6:53:26 AM7/3/13
to node-home-...@googlegroups.com
Hi,
Did you install node.js successfully ? 
( with Ubuntu, you can install node.js just with "apt-get install nodejs" . ) 
If node.js and mongodb is installed successfully, what about dependencies ?
( "npm install",  in src/ folder.) If all needed dependencies are installed, what "node app.js" says ?

If it throw error like:

$ node app.js
module.js:340
    throw err;
          ^
Error: Cannot find module '../config'  

You need to create own configure file, example rename  config.template.json to config.json and try again.
Please check that configurations are valid for your environment.


E.g. template file contains default application port; 8080  ( --> http://localhost:8080/ ) .

If you have still problems, please add more informations.. I've plan to further develop application much more, 
but this summer time I haven't too much free time..

Best Regards, 
Jussi

Jussi Vatjus-Anttila

unread,
Jul 3, 2013, 7:24:19 AM7/3/13
to node-home-...@googlegroups.com
I also found one bug from database file, It's now fixed.
Reply all
Reply to author
Forward
0 new messages