-
Notifications
You must be signed in to change notification settings - Fork 19
Description
[root@cms amp-client]# npm run server
amp-client@0.1.0 server /data/amp-client
PORT=8080 REACT_APP_DEFAULT_NETWORK_ID=8888 node server.js
internal/modules/cjs/loader.js:583
throw err;
^
Error: Cannot find module '/data/amp-client/server.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
at Function.Module._load (internal/modules/cjs/loader.js:507:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:742:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! amp-client@0.1.0 server: PORT=8080 REACT_APP_DEFAULT_NETWORK_ID=8888 node server.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the amp-client@0.1.0 server script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2019-04-25T01_51_01_511Z-debug.log