-
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
update: Data path ".from" should be string. #10312
Comments
Me too getting same error. |
|
|
The nodejs module used behind the scene to get command line parameters is probably wrongly casting
|
Use your previous version of angular-cli instead of 1 for the --from attribute. |
Yes it looks like our arg parsing isn't reading |
after above command, it generates a new error while build or serve application |
Hi, as I understand fix is in new build, but what I should do now to move forward? When I do but ng server still is giving a problem-related cli version I tried but those look like no effect my current config [mariusz admin.angular5]$ ng --version
/ △ \ | '_ \ / Angular CLI: 6.0.0-rc.4 Package Version@angular-devkit/architect 0.5.6 (cli-only) Thank you for suggestion |
@mantonik I would try |
@Brocco @filipesilva @hansl #10315 didn't correctly fixed this issue. The option is not converting anymore into a boolean, but it's still converting into a number. So:
But following doesn't work:
And when updating the CLI, the CLI explicitly says to do the last option ( |
The fix referenced (#10315) has not yet been released and because both Thanks for your vigilance in testing these issues. |
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
ng update @angular/cli --migrate-only --from=1
as suggested and get this errorng update @angular/cli --migrate-only --from="1"
and get the same errorng update @angular/cli --migrate-only --from='1'
and get the same errorDesired behavior
The command recommended by the CLI message should run without error.
Mention any other details that might be useful (optional)
N/A
The text was updated successfully, but these errors were encountered: