How to update pub package webdev for flutter web
Oh... I just run "pub global deactivate " and then "pub global activate ".Anyway I opened an issue on github suggesting to add the feature "update".I hope this easy solution might help you, feel free to follow up the issue.
Adding build_daemon: ^1.0.0
in dev_dependencies:
of .yaml file fix my error
I got the same problem now when I followed this tutorial https://medium.com/flutter-community/flutter-create-and-deploy-a-website-from-scratch-4a026ebd6c, but I didn't get pass the error by running flutter pub global activate.