Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install the explorer, Node deprecated packages #514

Open
getbitcoinx opened this issue Jan 26, 2024 · 1 comment
Open

Can't install the explorer, Node deprecated packages #514

getbitcoinx opened this issue Jan 26, 2024 · 1 comment

Comments

@getbitcoinx
Copy link

npm install --production
npm http GET https://registry.npmjs.org/bitcoin-core/2.0.0
npm http 200 https://registry.npmjs.org/bitcoin-core/2.0.0
npm http GET https://registry.npmjs.org/bitcoin-core/-/bitcoin-core-2.0.0.tgz
npm http 200 https://registry.npmjs.org/bitcoin-core/-/bitcoin-core-2.0.0.tgz
npm WARN engine [email protected]: wanted: {"node":">=4"} (current: {"node":"v0.10.25","npm":"1.3.24"})
npm http GET https://registry.npmjs.org/debugnyan
npm http GET https://registry.npmjs.org/bluebird
npm http GET https://registry.npmjs.org/json-bigint
npm http GET https://registry.npmjs.org/uphold/request-logger
npm http GET https://registry.npmjs.org/lodash
npm http GET https://registry.npmjs.org/standard-error
npm http GET https://registry.npmjs.org/semver
npm http 304 https://registry.npmjs.org/lodash
npm http 405 https://registry.npmjs.org/uphold/request-logger
npm ERR! TypeError: Cannot read property 'latest' of undefined
npm ERR! at next (/home/x/.nvm/v0.10.25/lib/node_modules/npm/lib/cache.js:692:35)
npm ERR! at /home/x/.nvm/v0.10.25/lib/node_modules/npm/lib/cache.js:680:5
npm ERR! at saved (/home/x/.nvm/v0.10.25/lib/node_modules/npm/node_modules/npm-registry-client/lib/get.js:142:7)
npm ERR! at /home/x/.nvm/v0.10.25/lib/node_modules/npm/node_modules/graceful-fs/polyfills.js:133:7
npm ERR! at Object.oncomplete (fs.js:107:15)
npm ERR! If you need help, you may report this entire log,
npm ERR! including the npm and node versions, at:
npm ERR! http://github.com/isaacs/npm/issues

npm ERR! System Linux 5.15.0-91-generic
npm ERR! command "/home/x/.nvm/v0.10.25/bin/node" "/home/x/.nvm/v0.10.25/bin/npm" "install" "--production"
npm ERR! cwd /home/x/Documents/explorer
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.24
npm ERR! type non_object_property_load
npm http 304 https://registry.npmjs.org/semver
npm http 304 https://registry.npmjs.org/json-bigint
npm http 304 https://registry.npmjs.org/bluebird
npm http 304 https://registry.npmjs.org/debugnyan
npm http 304 https://registry.npmjs.org/standard-error
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/x/Documents/explorer/npm-debug.log
npm ERR! not ok code 0

@joeuhren
Copy link
Contributor

According to your log, you're using a very old version of node.js. It's asking you to install at least v4 and you currently have v0 installed. Use nvm to install whatever version of nodejs you want, something more modern and try the setup again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants