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
> The installed Angular CLI version is outdated.
> Installing a temporary Angular CLI versioned 18.2.16 to perform the update.
> Using package manager: npm
> Collecting installed dependencies...
> Found 69 dependencies.
> Package does not provide migrations.
>
> Process finished with exit code 1
The error happens because @angular-devkit/* packages never include migrations, which makes the command ng update @angular-devkit/build-angular invalid.
The --force flag is used to override peer dependency version conflicts.
The issue lies with your Renovate configuration. You should not run postUpgradeTasks when updating @angular-devkit/ packages.
Command
update
Is this a regression?
The previous version in which this bug was not present was
No response
Description
First: I'm sorry, I'm not sure if this is a bug behavior or rather a feature request.
If executing
npx ng update @angular-devkit/build-angular --from=18.2.14 --to=18.2.15 --migrate-only --allow-dirty --force
the process exits with code 1
I would have expected with the
--force
flag the command would not have failed andwould just be a warning.
If this is not a bug in the CLI, would a flag be possible to ignore missing migrations? (feature request)
My use case is that I want to execute
ng update
regular as renovate postUpgradeTask within the CI.Minimal Reproduction
git clone https://github.com/jase88/ng-update-devkit-build-angular-migration-fail
npm run migrate-devkit-build-angular
Exception or Error
Your Environment
Anything else relevant?
This occurs if using renovate to create merge-requests that executed
ng update
for context the
renovate.json
:The text was updated successfully, but these errors were encountered: