You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm unsure if this is a regression. But when there is a "private" package in an angular project, ng update fails to run.
Minimal Reproduction
To reproduce:
# use an "old" version to get started
npx @angular/[email protected] new DemoPackageIssue
cd DemoPackageIssue
# add a package from the deno std library (not really private..)
npx jsr add @std/toml
# try to upgrade:
npx ng update
Or manually add the package to the package.json like this:
Using package manager: npm
Collecting installed dependencies...
Found 28 dependencies.
✖ Migration failed: 404 Not Found - GET https://registry.npmjs.org/@std%2ftoml - Not found
See "/tmp/ng-f4tUqx/angular-errors.log" for further details.
Your Environment
I didn't test it with anything older as 18.0, but I suspect _all_ versions have this issue.
At least 19-rc.1 still has the problem
Anything else relevant?
This is an unneeded restriction. When there are packages in the package.json that Angular can't 'trace' it should be safe to ignore them. Erroring out is highly inconvenient.
The text was updated successfully, but these errors were encountered:
Command
update
Description
I'm unsure if this is a regression. But when there is a "private" package in an angular project,
ng update
fails to run.Minimal Reproduction
To reproduce:
Or manually add the package to the
package.json
like this:Exception or Error
Your Environment
Anything else relevant?
This is an unneeded restriction. When there are packages in the
package.json
that Angular can't 'trace' it should be safe to ignore them. Erroring out is highly inconvenient.The text was updated successfully, but these errors were encountered: