VROOM-Project/vroom-express

Unable to npm start

Closed this issue · 3 comments

On trying to start vroom-express using "npm start" in the vroom-express directory I get the following error

Error: Cannot find module 'node-uuid'
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. (/home/ec2-user/vroom-express/src/index.js:9:12)
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 Function.Module.runMain (module.js:497:10)
npm ERR! weird error 8
npm ERR! not ok code 0

Just in case: did you run npm install prior to npm start (see setup)?

If so, are you using the current master or did you checkout a specific tag?

Just in case: did you run npm install prior to npm start (see setup)?

If so, are you using the current master or did you checkout a specific tag?

Yes, I did run npm install before (obviously), and I followed the instructions. Since opening this issue I have discovered that NODE_PATH is empty. Following instructions https://stackoverflow.com/questions/12594541/npm-global-install-cannot-find-module has resolved this issue.

On my system, I did this to resolve:
export NODE_PATH=/usr/lib/node_modules

Glad you could make it work out, and thanks for sharing your solution.