Error: Cannot find module '../lib/lite-server'

155 views
Skip to first unread message

manuel...@gmail.com

unread,
Oct 23, 2016, 12:44:06 PM10/23/16
to nodejs
Hello, I have this problem with mongoDB.
Compile and launch comes all from the command line, with captain and OS operating system. Sometimes I can not open the database
MongoDB, I can not understand why.

throw err;
Error: Cannot find module '../lib/lite-server'
at Function.Module._resolveFilename (module.js:455:15) at Function.Module._load (module.js:403:25) at Module.require (module.js:483:17) at require (internal/module.js:20:19)
at Object.<anonymous> (/Users/nessjk/Dropbox/Projects/Angular 2/a2website 5/quickstart/node_modules/.bin/lite-server:7:1)
at Module._compile (module.js:556:32)
at Object.Module._extensions..js (module.js:565:10)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
ERR! Darwin 15.5.0
ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "lite"
ERR! node v6.6.0 ERR! npm v3.10.3 ERR! code ELIFECYCLE
ERR! angular-quickstart@l.0.0 lite: 'lite-server'
ERR! Exit status 1 ERR!
ERR! Failed at the angular-quickstart@l.0.0 lite script lite-server1.
ERR! Make sure you have the latest version of node.js and npm installed. ERR!
you do, this is most likely a problem with the angular-quickstart package, ERR! not with npm itself.
ERR! Tell the author that this fails on your system:
ERR!    lite-server
ERR! You can get information on how to open an issue for this project with: ERR!        npm bugs angular-quickstart
ERR! Or if that isnt available, you can get their info via:
ERR!    npm owner Is angular-quickstart
ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/nessjk/Dropbox/Projects/Angular 2/a2website 5/quickstart/npm-debug.log
Darwin 15.5.0
argv "/usr/local/bin/node" "/usr/local/bin/npm" "start" node v6.6.0 npm v3.10.3 code ELIFECYCLE
angular-quickstart@l. 0.0 start: 'concurrently "npm run tsc:w" "npm run lite" ' Exit status 1
Failed at the angular-quickstart^l.0.0 start script concurrently "npm run tsc:w" Make sure you have the latest version of node.js and npm installed.
If you do, this is most likely a problem with the angular-quickstart package, not with npm itself.
Tell the author that this fails on your system: concurrently "npm run tsc:w" "npm run lite"
You can get information on how to open an issue for this project with: npm bugs angular-quickstart
Or if that isn't available, you can get their info via: npm owner Is angular-quickstart There is likely additional logging output above.
Please include the following file with any support request:
/Users/nessjk/Dropbox/Projects/Angular 2/a2website 5/quickstart/npm-debug.log


Reply all
Reply to author
Forward
0 new messages