Skip to content

Instantly share code, notes, and snippets.

@morwin10
Created August 19, 2016 05:54
Show Gist options
  • Save morwin10/4def17741c944a7074942b4a56482a2f to your computer and use it in GitHub Desktop.
Save morwin10/4def17741c944a7074942b4a56482a2f to your computer and use it in GitHub Desktop.
$ npm run api
> retain@1.0.0 api C:\Users\morwin\Documents\retain-app
> angularclass-server --api retain --port 3500
module.js:457
throw err;
^
Error: Cannot find module 'C:\Users\morwin\Documents\retain-app\node_modules\@angularclass\api\index.js'
at Function.Module._resolveFilename (module.js:455:15)
at Function.Module._load (module.js:403:25)
at Module.runMain (module.js:590:10)
at run (bootstrap_node.js:394:7)
at startup (bootstrap_node.js:149:9)
at bootstrap_node.js:509:3
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\morwin\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "run" "api"
npm ERR! node v6.4.0
npm ERR! npm v3.10.6
npm ERR! code ELIFECYCLE
npm ERR! retain@1.0.0 api: `angularclass-server --api retain --port 3500`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the retain@1.0.0 api script 'angularclass-server --api retain --port 3500'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the retain package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! angularclass-server --api retain --port 3500
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs retain
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls retain
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\morwin\Documents\retain-app\npm-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment