partnet_anno_system
partnet_anno_system copied to clipboard
Error: npm start
2022-01-01T21_06_05_295Z-debug.log
I got a problem on "npm start". I have attached the log file. Kindly help me in this.
0 info it worked if it ends with ok 1 verbose cli [ '/home/zeb/.nvm/versions/node/v8.11.1/bin/node', 1 verbose cli '/usr/local/bin/npm', 1 verbose cli 'start' ] 2 info using [email protected] 3 info using [email protected] 4 verbose run-script [ 'prestart', 'start', 'poststart' ] 5 info lifecycle [email protected]~prestart: [email protected] 6 info lifecycle [email protected]~start: [email protected] 7 verbose lifecycle [email protected]~start: unsafe-perm in lifecycle true 8 verbose lifecycle [email protected]~start: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/zeb/Documents/jang/partnet_anno_system/server/node_modules/.bin:/home/zeb/miniconda3/condabin:/home/zeb/.nvm/versions/node/v8.11.1/bin:/home/zeb/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/go/bin:/home/zeb/object_detection/protoc-3.17.3-linux-x86_64/bin 9 verbose lifecycle [email protected]~start: CWD: /home/zeb/Documents/jang/partnet_anno_system/server 10 silly lifecycle [email protected]~start: Args: [ '-c', 'node ./bin/www' ] 11 silly lifecycle [email protected]~start: Returned: code: 1 signal: null 12 info lifecycle [email protected]~start: Failed to exec start script 13 verbose stack Error: [email protected] start:
node ./bin/www
13 verbose stack Exit status 1 13 verbose stack at EventEmitter.(/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:285:16) 13 verbose stack at emitTwo (events.js:126:13) 13 verbose stack at EventEmitter.emit (events.js:214:7) 13 verbose stack at ChildProcess. (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14) 13 verbose stack at emitTwo (events.js:126:13) 13 verbose stack at ChildProcess.emit (events.js:214:7) 13 verbose stack at maybeClose (internal/child_process.js:925:16) 13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5) 14 verbose pkgid [email protected] 15 verbose cwd /home/zeb/Documents/jang/partnet_anno_system/server 16 verbose Linux 5.4.0-91-generic 17 verbose argv "/home/zeb/.nvm/versions/node/v8.11.1/bin/node" "/usr/local/bin/npm" "start" 18 verbose node v8.11.1 19 verbose npm v5.6.0 20 error code ELIFECYCLE 21 error errno 1 22 error [email protected] start: node ./bin/www
22 error Exit status 1 23 error Failed at the [email protected] start script. 23 error This is probably not a problem with npm. There is likely additional logging output above. 24 verbose exit [ 1, true ]
PORT=3000 npm start
solved my problem