crash on npm install current master 48df5b5
See original GitHub issueDescribe the bug
get the master branch at the git hash above. then npm install and it crashes
Environment (please complete the following information):
- Bitcoin Core / Node Version [e.g. 0.16.3] 0.19.1
- NodeJS Version [e.g. 9.x] v14.19.1
- Browser [e.g. chrome, safari]
- Code Version / Commit 48df5b5
- Installation Method [e.g. “npm” or “source code”] npm install
Configuration file content Same content as v3.3.0 release.
To Reproduce
Steps to reproduce the behavior:
- get the master branch at 48df5b5
- npm install
- See error
Screenshots or Log Output
npm WARN tar ENOENT: no such file or directory, open ‘/home/linuxguy/code/btc-rpc-explorer/node_modules/.staging/ms-3d309320/index.js’ npm WARN tar ENOENT: no such file or directory, open ‘/home/linuxguy/code/btc-rpc-explorer/node_modules/.staging/node-abi-8eb61ad1/LICENSE’ npm WARN tar ENOENT: no such file or directory, open ‘/home/linuxguy/code/btc-rpc-explorer/node_modules/.staging/ms-3d309320/package.json’ npm WARN tar ENOENT: no such file or directory, open ‘/home/linuxguy/code/btc-rpc-explorer/node_modules/.staging/node-abi-8eb61ad1/index.js’
Additional context
npm start Then you get this output: npm start
btc-rpc-explorer@3.3.0 start /home/linuxguy/code/btc-rpc-explorer node ./bin/www
btcexp:app Searching for config files… +0ms btcexp:app Config file found at /home/linuxguy/.config/btc-rpc-explorer.env, loading… +2ms btcexp:app Config file not found at /etc/btc-rpc-explorer/.env, continuing… +1ms btcexp:app Config file not found at /home/linuxguy/code/btc-rpc-explorer/.env, continuing… +0ms internal/modules/cjs/loader.js:905 throw err; ^
Error: Cannot find module ‘@janoside/app-utils’ Require stack:
- /home/linuxguy/code/btc-rpc-explorer/app.js
- /home/linuxguy/code/btc-rpc-explorer/bin/www
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15)
at Function.Module._load (internal/modules/cjs/loader.js:746:27)
at Module.require (internal/modules/cjs/loader.js:974:19)
at require (internal/modules/cjs/helpers.js:101:18)
at Object.<anonymous> (/home/linuxguy/code/btc-rpc-explorer/app.js:99:18)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:12)
at Module.require (internal/modules/cjs/loader.js:974:19)
at require (internal/modules/cjs/helpers.js:101:18)
at Object.<anonymous> (/home/linuxguy/code/btc-rpc-explorer/bin/www:6:13)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:12) {
code: ‘MODULE_NOT_FOUND’,
requireStack: [
‘/home/linuxguy/code/btc-rpc-explorer/app.js’,
‘/home/linuxguy/code/btc-rpc-explorer/bin/www’
]
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! btc-rpc-explorer@3.3.0 start:
node ./bin/wwwnpm ERR! Exit status 1 npm ERR! npm ERR! Failed at the btc-rpc-explorer@3.3.0 start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Issue Analytics
- State:
- Created a year ago
- Comments:5 (5 by maintainers)

Top Related StackOverflow Question
Based on this source it looks like npm v7 is now required for the lockfileversion2 https://www.abrahamberg.com/blog/npm-package-json-lock-version-1-or-2/
This requirement could be added to the
READMEYes it was because I was using npm v6 it now builds on npm v8. Now I get the issue #443