Skip to content

Unable to spawn isolate after updating Dart SDK #1677

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

Closed
Bikeman868 opened this issue Jul 29, 2017 · 1 comment
Closed

Unable to spawn isolate after updating Dart SDK #1677

Bikeman868 opened this issue Jul 29, 2017 · 1 comment

Comments

@Bikeman868
Copy link

I checked that pub build worked without errors before updating the Dart SDK. Immediately after updating pub build fails with this error

Loading source assets...
Loading dart_to_js_script_rewriter transformers...
Unable to spawn isolate: Unhandled exception:
Could not import "package:$pub/transformer_isolate.dart" from "file:///C:/Users/Martin/AppData/Local/Temp/pub_8fefe270-7420-11e7-82f4-600292272768/runInIsolate.dart": Failure getting http://localhost:53638/packages/$pub/transformer_isolate.dart:  404 Not Found
null

I updated from SDK 1.11.3 to 1.24.2. After getting this error I tried pub get just in case but this didn't help.

@Bikeman868
Copy link
Author

This turned out to be an incomplete install of the SDK which had missing files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant