-
Notifications
You must be signed in to change notification settings - Fork 12k
ng update fails when there is an npm dependency on a git repo #10775
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Just came here to post the same thing. In our case it's a github repo. We're not publishing packages to npm and instead depend on the
npm 5 with a prepare script will download devDependencies for that package, run that script and it's essentially the same without having to publish to npm: https://github.com/xcaliber-tech/ionic-split-pane/blob/master/package.json#L42 Same error as above: |
The same error is returned for gzipped tarball (tgz) locations:
|
I have the same issue. I have performed an upgrade Angular packages to v6
I get this error every time I run this command
|
Also having the same issue as @Maryna-Yelakova |
Also having this issue trying to run |
This looks like the same issue: #10167 It's not clear to me why that issue was closed, since it appears to still be broken. There is a workaround there, though. Workaround: (haven't tried it yet, so YMMV) remove your private repo dependencies, upgrade, re-add your depenedencies |
Duplicate of #10642 |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Versions
Repro steps
have a dependency on a git library (from bitbucket in my case)
try to use
ng update @angular/cli
Registry returned 404 for GET on https://registry.npmjs.org/my-shared-lib
Observed behavior
Desired behavior
everything to work
The text was updated successfully, but these errors were encountered: