You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Some of my
npm install
s were failing withInvalid name: "@jupyterlab/services"
. After doing some research, I found npm/npm#13986 (comment), rannpm install -g npm@latest
and my issue was resolved. However, if this comment is correct, then n may be the culprit:The text was updated successfully, but these errors were encountered: