[ui5/cli] npm-shrinkwrap.json causing registry in .npmrc to be ignored
See original GitHub issueExpected Behavior
Setting registry value in the .npmrc file should allow node modules to be downloaded from a private registry.
Current Behavior
ui5/cli itself comes from the registry mentioned in .npmrc but the dependency of ui5/cli comes from open source npmjs.org
Steps to Reproduce the Issue
- Set private registry in .npmrc
- Set package-lock as true in .npmrc
- Do
npm i
- Check registry link in package-lock.json for ui5/cli dependencies.
Possible reason:
npm-shrinkwrap.json
is present when ui5/cli is installed, as this has resolution links set as npmjs.org the registry in the .npmrc is ignored while fetching the dependencies of ui5/cli.
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (6 by maintainers)
Top Results From Across the Web
npmrc ignored private package - node.js - Stack Overflow
Rest of your package.json. And on your project B, the .npmrc must match the scope @myscope:registry=https://gitlab.com/api/v4/packages/npm/.
Read more >@ui5/cli: Versions | Openbase
Info: v2.0.0 contained a corrupted npm-shrinkwrap.json causing npm ERR! Cannot read property 'match' of undefined errors when installing.
Read more >What does the TDSP lifecycle have in common with the other ...
[ui5/cli] npm-shrinkwrap.json causing registry in .npmrc to be ignored, 7, 2021-04-28, 2022-09-18. [ISSUE] Acra Server doesn't encrypt on insert new row on ...
Read more >ui5-tooling - bytemeta
[ui5/cli] npm-shrinkwrap.json causing registry in .npmrc to be ignored ... Make software development more efficient, Also welcome to join our telegram.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Also others: dependencies > @ui5/cli > dependencies
But only dependencies of @ui5/cli
I’m closing this issue since this is rather a feature request for the npm CLI.
Currently I don’t see anything we can do without loosing the benefits of the shrinkwrap file for our project.