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
NoSuchMethodError: No static getter 'terminal' declared in class 'StdioType' #1448
Comments
Downgrading to 0.8.8 fixed this for me. Seems like something in the latest update broke this. |
We may be relying on details from a later SDK without correctly setting the constraint in our pubspec |
@grouma can you check where we are using this symbol and see if we need to set a higher lower bound for the SDK? |
I just updated flutter to the latest version available on dev channel (0.4.4) and this also fixed this for me. |
Just add the same error with fresh install of Flutter on mac
Flutter 0.3.2 • channel beta • https://github.com/flutter/flutter.git I under a new project and just trying to use 'package:json_annotation/json_annotation.dart' user example from the doc :/ |
Downgrading to 0.8.8 fix the problem for me also :) |
Are sdk constraints not being respected for flutter projects for some reason I wonder? The latest version has an skd constraint of Closing this issue as we have proper sdk constraints as far as I know, but you may want to open another issue elsewhere (on flutter or pub?). |
Fwiw, this doesn't appear to be an issue with pub_semver, the following prints the expected output: import 'package:pub_semver/pub_semver.dart';
main() {
var flutterVersion = new Version.parse('2.0.0-dev.48.0.flutter-fe606f890b');
var sdkMinVersion = new Version.parse('2.0.0-dev.54');
var sdkMaxVersion = new Version.parse('2.0.0');
var sdkRange = new VersionRange(
min: sdkMinVersion, max: sdkMaxVersion, includeMin: true);
print(sdkRange.allows(flutterVersion)); // prints false
print(sdkMinVersion >= flutterVersion); // prints true
} |
Track at flutter/flutter#17656 |
Hello!
I am trying to use built_value in my flutter project. I get an error while running
flutter packages pub run build_runner build
.And this is terminal output of the command I run:
The text was updated successfully, but these errors were encountered: