Skip to content
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

Better handling of version skew #864

Open
drpond1 opened this issue Dec 20, 2019 · 2 comments
Open

Better handling of version skew #864

drpond1 opened this issue Dec 20, 2019 · 2 comments
Labels
package:webdev type-enhancement A request for a change that isn't a bug

Comments

@drpond1
Copy link

drpond1 commented Dec 20, 2019

Working dir: /Users/user/Documents/dartProjects/drpond
/Users/userDocuments/dartProjects/dart/dart-sdk/bin/pub global run webdev build --output=web:build
[INFO] Current Version: 8Unhandled exception:
Instance of 'VersionSkew'
#0 _handleDaemonStartup (package:build_daemon/client.dart:84:5)

#1 BuildDaemonClient.connect (package:build_daemon/client.dart:183:11)

#2 connectClient (package:webdev/src/daemon_client.dart:17:23)
#3 BuildCommand.run (package:webdev/src/command/build_command.dart:57:26)

#4 CommandRunner.runCommand (package:args/command_runner.dart:197:27)

#5 _CommandRunner.runCommand (package:webdev/src/webdev_command_runner.dart:38:24)

#6 CommandRunner.run. (package:args/command_runner.dart:112:25)
#7 new Future.sync (dart:async/future.dart:224:31)
#8 CommandRunner.run (package:args/command_runner.dart:112:14)
#9 run (package:webdev/src/webdev_command_runner.dart:19:56)
#10 main (file:///Users/davidrosenthal/.pub-cache/hosted/pub.dartlang.org/webdev-2.5.1/bin/webdev.dart:17:22)

#11 _startIsolate. (dart:isolate-patch/isolate_patch.dart:299:32)
#12 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:12)
Process finished with exit code 255

@drpond1
Copy link
Author

drpond1 commented Dec 20, 2019

I fixed things. I updated dart sdk first (just to be sure).
Then I updated webdev dependencies in pubspec.yaml, then I activated webdev, then I did pub get dependencies, update, build. Then did get,update, build again since it said something was out of date. Then it ran.

@jakemac53
Copy link
Contributor

We should be handling this error better - cc @grouma

@grouma grouma changed the title Version skew .. unhandled exception Better handling of version skew Jan 5, 2020
@devoncarew devoncarew added type-enhancement A request for a change that isn't a bug and removed feature-request labels Aug 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package:webdev type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

4 participants