-
Notifications
You must be signed in to change notification settings - Fork 3k
Cannot install package #14660
Comments
@legodude17 Might be a duplicate of #14427. |
Yeah. Might be the same problem. Try reinstalling @MichaelJAndy. |
Hi guys, thanks for the replies - Reinstalling npm is not the correct answer in this situation, I reinstalled npm and cleared npm cache etc... but that didn't solve the issue. Performing a downgrade of npm from 4.0.2 to 3.9.6 has allowed me to install Parsoid. For those on Arch Linux, no need to uninstall NPM, the following will replace the broken version with the working one:
If you need you can then add npm in the IgnorePkg list in pacman.conf so that it doesn't accidently get upgraded to the broken version upon pacman -Syu |
Right, as mentioned (#14427 (comment)) in the issue I linked above, this is a bug, so reinstalling won't fix it. |
Happily I just tracked down the root cause of this error (and errors like it) today. |
Fixed as of npm@4.0.5, which can be installed with npm install -g npm@4.0.5. See #15082 |
I'm opening this issue because:
What's going wrong?
How can the CLI team reproduce the problem?
/parsoid-git/ makepkg -si
Failure.
See logs https://gist.github.com/MichaelJAndy/0c6a66460839203688515aeb4ef89ec5
supporting information:
npm -v
prints: 4.0.2node -v
prints: 7.1.0npm config get registry
prints: https://registry.npmjs.org/The text was updated successfully, but these errors were encountered: