-
Notifications
You must be signed in to change notification settings - Fork 329
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
Migrate DevTools to use pub workspaces #8211
Comments
I pushed up a draft for this at #8549, but something does not seem to working properly. I followed instructions and examples as closely as possible, but I'm not quite sure what is going wrong. Running Also, here is the output from running
CC @sigurdm - any ideas? Also CC @DanTup in case there could be something going wrong with my local VS Code configuration. |
I believe I found the issue. On the main branch you have a On the PR branch there is no This file is the cause of all the trouble, because the analyzer picks that one up when it traverses directories towards the root.
The workaround is to run We should probably update pub to delete |
A fix to delete those files is proposed in https://github.com/dart-lang/pub/pull/4446/files |
@sigurdm thanks for looking into this. That fixed my local setup and I think the fix you pushed up to prevent other users from hitting this will be great. The next issue I am hitting is with
|
Nevermind I got this passing by adding the build_runner dep to the top level pubspec.yaml file. |
This will be a good way for us to dogfood the pub workspaces feature and find any devexp / devtools related bugs (like DevTools extensions or IDE integrations).
The workspace
pubspec.yaml
should likely live at the root ofdevtools/packages
.The text was updated successfully, but these errors were encountered: