Skip to content

Instantly share code, notes, and snippets.

@benclarkk
Created October 14, 2019 17:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save benclarkk/82f000bcc3b15cfd352ee6f3bbcbbecf to your computer and use it in GitHub Desktop.
Save benclarkk/82f000bcc3b15cfd352ee6f3bbcbbecf to your computer and use it in GitHub Desktop.
module.js:549
throw err;
^
Error: Cannot find module '/root/api/dist'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:188:16)
at bootstrap_node.js:609:3
root@cryb:~/api# ^C
root@cryb:~/api# npm start dev
> @cryb/api@1.0.0 start /root/api
> node dist "dev"
module.js:549
throw err;
^
Error: Cannot find module '/root/api/dist'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:188:16)
at bootstrap_node.js:609:3
npm ERR! Linux 4.15.0-58-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "start" "dev"
npm ERR! node v8.10.0
npm ERR! npm v3.5.2
npm ERR! code ELIFECYCLE
npm ERR! @cryb/api@1.0.0 start: `node dist "dev"`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @cryb/api@1.0.0 start script 'node dist "dev"'.
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 @cryb/api package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node dist "dev"
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs @cryb/api
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls @cryb/api
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /root/api/npm-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment