-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[meta] meta version 1.7.0 seems incompatible with analyzer 0.40.6 #46687
Comments
This is a known issue, cc @scheglov. If lots of people are running into this, then probably the easiest fix would be to release an analyzer |
yes great idea, or maybe release an updated version of the "meta" 1.7.1 package that fixes it |
We can't fix it on the meta side - the issue is that it introduced a new top level symbol (or extension?) that collided with something in analyzer. Removing that now would be a breaking change, which wouldn't solve this problem (analyzer |
I could publish a modification of |
That might work in some cases, but I don't know how often If we could make |
Thank you, @natebosch. Patching |
I published |
I can confirm that it is working, with AngularDart 6.0.1 and dart 2.13 |
I am still getting the same error. I cannot downgrade to 0.40.7, because otherwise I have a conflict with the crypto 2.0 package.
|
Same as previous comment This starts to get frustrating: / |
@SimonErich @Fraa-124 just add these lines to pubspec.yaml dependency_overrides:
meta: 1.6.0 |
I think |
I am having this issue with the current latest versions of:
My project has the following dependencies:
The problem started when I upgraded the Dart SDK version from If I add the line suggested by @insinfo to override the Alternatively, if I revert the update of the Dart SDK, it also seems to work. Is the fix for this issue not released yet in the stable Dart SDK branch? |
Here's the error I was having initially:
As I mentioned before, I then tried going back to Dart 2.12, then using
It now shows Finally, I had to remove the |
Deleting the lock file then |
Fwiw this is functionally equivalent to running |
The following issues are fixed 1. The implementation of a function in local_database_builder.dart did not match the expected result in the unit test 2. The dart packages meta 1.7.0 and analyzer 0.41.2 has a conflict that prevents the tests under taqo_common to run. See dart-lang/sdk#46687
Issue still exists
|
@RomanSoviak we need more information to understand that issue, and the current issue is already closed. Can you kindly file a new issue, and include your |
@mit-mit
I tried different versions, but had no success |
@RomanSoviak you've pinned build to a very old version ( |
@mit-mit
No success |
@RomanSoviak Looks like you are still using the old build package - |
Right, build_runner version 2.1.10 requires at least package:build version 2.1.0. |
Thanks for helping!
does the work |
Awesome, you are welcome! |
meta version 1.7.0 seems incompatible with analyzer 0.40.6 but does not have constraints preventing them from getting downloaded together by pub.
As a result, running
pub upgrade
with SDK 2.12.4 and using packages that depend on analyzer 0.40.6 (such as angular_test 3.0.0 and angular 6.0.1) causes build failures in user's code:See: dart-lang/webdev#1363
Duplicate: #46686
The text was updated successfully, but these errors were encountered: