This repository has been archived by the owner on Aug 11, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3k
"npm i" sets the "version" field of installed node_modules to the dist link instead of the version number. #17468
Comments
Any update on this? |
Is anyone looking into it? All my CI builds are failing. |
Is anyone even looking into this? All I see here are tumble weeds. 😢 |
VamshiKrishnaAlladi
changed the title
"npm i" sets the version of installed node_modules to the dist link instead of the version number.
"npm i" sets the "version" field of installed node_modules to the dist link instead of the version number.
Jul 28, 2017
Is this still happening in the latest npm? (5.3.0) |
@VamshiKrishnaAlladi I really wonder how to repro this. I wonder if you just have old results cached or something. This is probably the root cause of #17858, too. |
@zkat You do not see this when you install a module? |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm opening this issue because:
What's going wrong?
With npm@5.0.3, when I install a package, the version number field in the package.json has the link to npm registry instead of the actual version number.
Is this by design? or is something going wrong here?
If it is by design, isn't the field name misleading?
How can the CLI team reproduce the problem?
By installing any package.
supporting information:
npm -v
prints: 5.0.3node -v
prints: 8.1.1npm config get registry
prints: https://registry.npmjs.org/The text was updated successfully, but these errors were encountered: