-
Notifications
You must be signed in to change notification settings - Fork 27.9k
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
[Windows]: Null Safety Migration tool 404 error #100134
Comments
Quick workaround until there is a fix: edit the URL and change your Windows drive letter from |
That works! Cheers man. In the terminal it shows the correct |
@iqfareez I verified this on same stack as you, ie, on Windows 10 and used latest stable 2.10.3. The path is correctly captured by the tool, but not sure in your case, how did it get converted int lowercase d: Do you consistently get the error everytime or was it one-off ? I also see that you have space in your folder name Can you remove the space and have |
Thank you for your reply. Actually, I'm on Windows 11. I tried your suggestion, and the problem still exists. However, I think it is the vscode terminal fault. I run Can you confirm by try to run it on vscode integrated terminal? |
Thanks for the update. I don't use vscode so can't verify it. |
For what it's worth, i did repro on Windows 11, Dart 2.16 and VSCode. I clicked the link from the powershell terminal after running dart migrate. |
Thanks for the feedback @mattetti. Although I don't have Windows 11, but I'll again try to replicate this using VSCode and check. |
I don't think it is related to the plugin. Nevertheless, I've opened an issue in vscode microsoft/vscode#145195. Let's hear what they will say about it. But, if the issue is not solved on vscode side, perhaps we can make the migration tools 'read' the lowercase drive letter. |
I tried again on Windows 10 using VSCode and Dart 2.16 but have been unable to replicate this issue. The link I access gets opened properly as mentioned in my previous findings: #100134 (comment) I am going ahead and labeling it for further investigation from the team. Per Reporters, they are seeing this on Windows 11. |
/cc @stuartmorgan |
Issues with the |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
Error occurred when trying to migrate old Flutter project.
Steps to Reproduce
flutter create migration_error
This is needed to disable null safety feature.
3. Make minor changes to main.dart
4. Run
dart migrate
Expected results:
Normal migration page
Actual results:
NNBD Migration Preview with 404 error.
Logs
The text was updated successfully, but these errors were encountered: