-
Notifications
You must be signed in to change notification settings - Fork 12k
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
Re-running migration produces "invalid version" error #14559
Comments
Hi, can you please provide the original command that you used to update? |
|
The original issue seems to be that the Ie We should probably handle both. |
Increasing the priority as in the |
We seem to have some problems running migration on Windows (#14565), together with migrations for Here is a workaround for now:
|
Another report of the invalid version error when using |
@filipesilva I don't think this is related to what you mentioned above, this issue is not on Windows and migrations are being run. The problem here is that
|
This implements the logic provided in the following link with the exception that the lower range is exclusive instead of inclusive. https://github.com/npm/node-semver#hyphen-ranges-xyz---abc Fixes angular#14559
We should note that this is indeed a regression as it previously worked with pre-V8 CLI versions but broke accidentally with V8 as there was some logic refactoring for the Previously the angular-cli/packages/schematics/update/update/index.ts Lines 809 to 810 in 37debd7
|
This implements the logic provided in the following link with the exception that the lower range is exclusive instead of inclusive. https://github.com/npm/node-semver#hyphen-ranges-xyz---abc Fixes #14559
This implements the logic provided in the following link with the exception that the lower range is exclusive instead of inclusive. https://github.com/npm/node-semver#hyphen-ranges-xyz---abc Fixes #14559
Am updating the angular 7 to 8, after updating the |
1st you need to commit the changes done from |
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. |
🐞 Bug report
Command (mark with an
x
)Is this a regression?
Yes. Previously worked with pre-V8 CLI.
Description
If the migration from v7 to v8 fails, the CLI prints the following:
Trying to run this command after fixing whatever was wrong does not work.
🔥 Exception or Error
🌍 Your Environment
Anything else relevant?
The text was updated successfully, but these errors were encountered: