tejitak / lunchapp

facebook award mashup application for lunch
http://www.tejitak.com/lunch/
2 stars 1 forks source link

cannot run grunt server #27

Closed aborren closed 10 years ago

aborren commented 10 years ago

I get this following error after pulling the latest revision. I did a npm install. Is there something else I need to do to make it work again?

Dans-Mac-mini:lunchapp yuka$ grunt server Running "shell:start" (shell) task

lunchapp@0.0.1 start /Users/yuka/Documents/web Projects/lunchapp node ./bin/www

MongoDB URL:mongodb://localhost

events.js:72 throw er; // Unhandled 'error' event ^ Error: failed to connect to [localhost:27017] at null. (/Users/yuka/Documents/web Projects/lunchapp/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/server.js:546:74) at emit (events.js:106:17) at null. (/Users/yuka/Documents/web Projects/lunchapp/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/connection_pool.js:150:15) at emit (events.js:98:17) at Socket. (/Users/yuka/Documents/web Projects/lunchapp/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/connection.js:533:10) at Socket.emit (events.js:95:17) at net.js:440:14 at process._tickDomainCallback (node.js:463:13)

npm ERR! lunchapp@0.0.1 start: node ./bin/www npm ERR! Exit status 8 npm ERR! npm ERR! Failed at the lunchapp@0.0.1 start script. npm ERR! This is most likely a problem with the lunchapp package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node ./bin/www npm ERR! You can get their info via: npm ERR! npm owner ls lunchapp npm ERR! There is likely additional logging output above. npm ERR! System Darwin 13.2.0 npm ERR! command "node" "/usr/local/bin/npm" "start" npm ERR! cwd /Users/yuka/Documents/web Projects/lunchapp npm ERR! node -v v0.10.29 npm ERR! npm -v 1.4.14 npm ERR! code ELIFECYCLE npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /Users/yuka/Documents/web Projects/lunchapp/npm-debug.log npm ERR! not ok code 0 Warning: Command failed: events.js:72 throw er; // Unhandled 'error' event ^ Error: failed to connect to [localhost:27017] at null. (/Users/yuka/Documents/web Projects/lunchapp/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/server.js:546:74) at emit (events.js:106:17) at null. (/Users/yuka/Documents/web Projects/lunchapp/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/connection_pool.js:150:15) at emit (events.js:98:17) at Socket. (/Users/yuka/Documents/web Projects/lunchapp/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/connection.js:533:10) at Socket.emit (events.js:95:17) at net.js:440:14 at process._tickDomainCallback (node.js:463:13)

npm ERR! lunchapp@0.0.1 start: node ./bin/www npm ERR! Exit status 8 npm ERR! npm ERR! Failed at the lunchapp@0.0.1 start script. npm ERR! This is most likely a problem with the lunchapp package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node ./bin/www npm ERR! You can get their info via: npm ERR! npm owner ls lunchapp npm ERR! There is likely additional logging output above. npm ERR! System Darwin 13.2.0 npm ERR! command "node" "/usr/local/bin/npm" "start" npm ERR! cwd /Users/yuka/Documents/web Projects/lunchapp npm ERR! node -v v0.10.29 npm ERR! npm -v 1.4.14 npm ERR! code ELIFECYCLE npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /Users/yuka/Documents/web Projects/lunchapp/npm-debug.log npm ERR! not ok code 0 Use --force to continue.

Aborted due to warnings.

Execution Time (2014-07-02 05:58:44 UTC) shell:start 784ms ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 99% Total 788ms Dans-Mac-mini:lunchapp yuka$

makinoy commented 10 years ago

Please install mongodb and run the db with "mongod". I missed to notify about that. I added the information to the readme. Thanks.