0 info it worked if it ends with ok 1 verbose cli [ '/home/sidra/.nvm/versions/node/v8.16.2/bin/node', 1 verbose cli '/home/sidra/.nvm/versions/node/v8.16.2/bin/npm', 1 verbose cli 'run', 1 verbose cli 'test' ] 2 info using npm@6.4.1 3 info using node@v8.16.2 4 verbose run-script [ 'pretest', 'test', 'posttest' ] 5 info lifecycle hyperledger-explorer-test@0.3.9~pretest: hyperledger-explorer-test@0.3.9 6 info lifecycle hyperledger-explorer-test@0.3.9~test: hyperledger-explorer-test@0.3.9 7 verbose lifecycle hyperledger-explorer-test@0.3.9~test: unsafe-perm in lifecycle true 8 verbose lifecycle hyperledger-explorer-test@0.3.9~test: PATH: /home/sidra/.nvm/versions/node/v8.16.2/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/sidra/blockchain-explorer/app/test/node_modules/.bin:/home/sidra/.nvm/versions/node/v8.16.2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/usr/local/go/bin:/usr/local/go:/home/sidra/go: 9 verbose lifecycle hyperledger-explorer-test@0.3.9~test: CWD: /home/sidra/blockchain-explorer/app/test 10 silly lifecycle hyperledger-explorer-test@0.3.9~test: Args: [ '-c', 'nyc mocha *.js --exit' ] 11 info lifecycle hyperledger-explorer-test@0.3.9~test: Failed to exec test script 12 verbose stack Error: hyperledger-explorer-test@0.3.9 test: `nyc mocha *.js --exit` 12 verbose stack spawn ENOENT 12 verbose stack at ChildProcess. (/home/sidra/.nvm/versions/node/v8.16.2/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:48:18) 12 verbose stack at emitTwo (events.js:126:13) 12 verbose stack at ChildProcess.emit (events.js:214:7) 12 verbose stack at maybeClose (internal/child_process.js:915:16) 12 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5) 13 verbose pkgid hyperledger-explorer-test@0.3.9 14 verbose cwd /home/sidra/blockchain-explorer/app/test 15 verbose Linux 5.0.0-37-generic 16 verbose argv "/home/sidra/.nvm/versions/node/v8.16.2/bin/node" "/home/sidra/.nvm/versions/node/v8.16.2/bin/npm" "run" "test" 17 verbose node v8.16.2 18 verbose npm v6.4.1 19 error file sh 20 error code ELIFECYCLE 21 error errno ENOENT 22 error syscall spawn 23 error hyperledger-explorer-test@0.3.9 test: `nyc mocha *.js --exit` 23 error spawn ENOENT 24 error Failed at the hyperledger-explorer-test@0.3.9 test script. 24 error This is probably not a problem with npm. There is likely additional logging output above. 25 verbose exit [ 1, true ]