Trying to install 7zip-bin package using npm, bring this error:
npm ERR! code E404
npm ERR! 404 Not Found: [email protected]
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/user/.npm/_logs/2020-02-11T22_06_51_357Z-debug.log
In the log file I see this output:
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node',
1 verbose cli '/usr/local/bin/npm',
1 verbose cli 'install',
1 verbose cli '-g',
1 verbose cli '[email protected]' ]
2 info using [email protected]
3 info using [email protected]
4 verbose npm-session 57413e14b663097a
5 silly install loadCurrentTree
6 silly install readGlobalPackageData
7 http fetch GET 404 https://registry.npmjs.org/7zip-bin 522ms
8 silly fetchPackageMetaData error for [email protected] 404 Not Found: [email protected]
9 timing stage:rollbackFailedOptional Completed in 0ms
10 timing stage:runTopLevelLifecycles Completed in 745ms
11 verbose stack Error: 404 Not Found: [email protected]
11 verbose stack at fetch.then.res (/usr/local/lib/node_modules/npm/node_modules/pacote/lib/fetchers/registry/fetch.js:42:19)
11 verbose stack at tryCatcher (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/util.js:16:23)
11 verbose stack at Promise._settlePromiseFromHandler (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:512:31)
11 verbose stack at Promise._settlePromise (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:569:18)
11 verbose stack at Promise._settlePromise0 (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:614:10)
11 verbose stack at Promise._settlePromises (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:693:18)
11 verbose stack at Async._drainQueue (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/async.js:133:16)
11 verbose stack at Async._drainQueues (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/async.js:143:10)
11 verbose stack at Immediate.Async.drainQueues (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/async.js:17:14)
11 verbose stack at runCallback (timers.js:810:20)
11 verbose stack at tryOnImmediate (timers.js:768:5)
11 verbose stack at processImmediate [as _immediateCallback] (timers.js:745:5)
12 verbose cwd /Users/user/Projects/fotomaster.com/mosaicpresentation
13 verbose Darwin 18.7.0
14 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "7zip-bin"
15 verbose node v8.15.0
16 verbose npm v6.4.1
17 error code E404
18 error 404 Not Found: [email protected]
19 verbose exit [ 1, true ]
I know I had this package installed already and didn't do anything to uninstall it. What do I miss?
reference to github yarn issue#7902
add registry=https://yarn.npmjs.org
to file ~/.npmrc.
This fixed the problem for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With