Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- I used this to install npm modules in vagrant, npm install --no-bin-links
- I get this error from mongoose:
- vagrant@precise32:~/app$ npm start
- > node_notes@0.0.1 start /home/vagrant/app
- > node ./bin/www
- /
- module.js:340
- throw err;
- ^
- Error: Cannot find module 'mongodb'
- at Function.Module._resolveFilename (module.js:338:15)
- at Function.Module._load (module.js:280:25)
- at Module.require (module.js:364:17)
- at require (module.js:380:17)
- at Object.<anonymous> (/home/vagrant/app/node_modules/mongoose/lib/utils.
- 5:16)
- at Module._compile (module.js:456:26)
- at Object.Module._extensions..js (module.js:474:10)
- at Module.load (module.js:356:32)
- at Function.Module._load (module.js:312:12)
- at Module.require (module.js:364:17)
- at require (module.js:380:17)
- at Object.<anonymous> (/home/vagrant/app/node_modules/mongoose/lib/schema
- :7:13)
- -
- npm ERR! node_notes@0.0.1 start: `node ./bin/www`
- npm ERR! Exit status 8
- npm ERR!
- npm ERR! Failed at the node_notes@0.0.1 start script.
- npm ERR! This is most likely a problem with the node_notes 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 node_notes
- npm ERR! There is likely additional logging output above.
- npm ERR! System Linux 3.2.0-23-generic-pae
- npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "start"
- npm ERR! cwd /home/vagrant/app
- 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! /home/vagrant/app/npm-debug.log
- npm ERR! not ok code 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement