Because of this issue https://github.com/zkat/protoduck/issues/6 (protoduck is a dependency of pacote), @angular/cli cannot be installed anymore from the Nexus NPM Proxy.
I decided to raise attention to this issue to Angular team because I think the fix could be quicker if you take care of it (and it is a total blocker for my company).
Hi, thanks for reporting this, however it seems to me that it is something that Nexus NPM Proxy should address.
Since as mentioned, it works fine with the public npm repository.
Cannot you propose a temporary alternative ? I will take weeks before Nexus team fix the issue...
npm install --registry=https://registry.npmjs.org whatever?
The point of having Nexus as proxy is to not to call the central registry ;-) plus it has a non negligeable cost when your whole infrastructure is on the cloud.
And our own packages are not on npmjs, the CI cannot be configured to switch registry depending on which package is installed.
Sure, but if your proxy is broken you're pretty SOL.
also yes, npm can be configured to switch registry per scope - so if all your own packages are under a scope, you can make only that one come from your proxy.
also yes, npm can be configured to switch registry per scope - so if all your own packages are under a scope, you can make only _that_ one come from your proxy.
That's cool, didn't know this option. But whatever, our admins will never accept to bypass the proxy. For now I overwrote the buggy package in the Nexus registry.
@mistic100 can you share your solution how to fix Nexus? thanks a lot!
@turnerguo https://github.com/zkat/protoduck/issues/6#issuecomment-467412811
FYI the problem is actually on NPM side https://status.npmjs.org/incidents/06vhhrnp272c
So changing the registry could work if your office is not in Dublin region, but it won't work anyway if your CI is in AWS Ireland.
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
_This action has been performed automatically by a bot._