Reputation: 1
package.json in my project has [email protected]
I installed packages by "npm i", and when i put command "npm view react-scripts version" - I get version 5.0.1
Why? What have I done wrong?
PS C:\Users\admin\source\repos\eventsystem\EventSystem\ClientApp> npm view react-scripts version
5.0.1
PS C:\Users\admin\source\repos\eventsystem\EventSystem\ClientApp> npm list -g
C:\Users\admin\AppData\Roaming\npm
+-- [email protected]
`-- [email protected]
Upvotes: 0
Views: 595
Reputation: 1
Will show the package details. For now, you specified the version of the "react-scripts". It'll get the latest version of that package.
In your package, You're getting the install version of yours.
If you know more about npm-view. More https://docs.npmjs.com/cli/v10/commands/npm-view
Upvotes: 0