amp-client
amp-client copied to clipboard
amp-client/server.js( Where have you been?)
[root@cms amp-client]# npm run server
[email protected] 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! [email protected] server: PORT=8080 REACT_APP_DEFAULT_NETWORK_ID=8888 node server.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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