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

Using n can break npm features like scopes #403

Closed
gnestor opened this issue Jan 2, 2017 · 1 comment
Closed

Using n can break npm features like scopes #403

gnestor opened this issue Jan 2, 2017 · 1 comment

Comments

@gnestor
Copy link

gnestor commented Jan 2, 2017

Some of my npm installs were failing with Invalid name: "@jupyterlab/services". After doing some research, I found npm/npm#13986 (comment), ran npm install -g npm@latest and my issue was resolved. However, if this comment is correct, then n may be the culprit:

The reason you need to delete and then reinstall Node.js / npm is that this happens due to the fact that the Node.js installer (and potentially n, I guess) doesn't wipe out the existing installation of npm before unpacking the new one over the top of it. This means that some of npm's dependencies end up in an inconsistent state and use older versions of dependencies when they shouldn't be. This is a bug in those installers, and not one that npm can fix itself, due to the nature of the problem.

@shadowspawn
Copy link
Collaborator

Hopefully fixed by #470

This issue has not had any activity in over six months. It isn't likely to get acted on due to this report.

Feel free to open a new issue if it comes up again, with new information and renewed interest.

Thank you for your contributions.

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