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
Compilation fails with 'InvalidType doesn't have nullability' #104
Comments
E:\Downloads\358\edu_2_web>flutter doctor -v [√] Android toolchain - develop for Android devices (Android SDK version 29.0.3) [√] Chrome - develop for the web [√] Android Studio (version 3.6) [√] VS Code (version 1.47.3) [√] Connected device (3 available) • No issues found! |
@timsneath I'm not using the win32 package but received this error and due to this my whole project is collapse please help mi to solve this issue |
name: edu_2_web publish_to: 'none' # Remove this line if you wish to publish to pub.dev version: 1.0.0+1 environment: dependencies: cupertino_icons: ^0.1.3 dev_dependencies: flutter: uses-material-design: true |
This is a package for developing Windows apps, but you aren't targeting Windows. (You're running the Let's start a step further back: what exactly are you trying to accomplish with the win32 package? |
I got his problem since I have dependency_overrides:
win32: "1.6.9" All the versions down to 1.6.9 before I gave up. I suspect it is a resolved dependency to win32 that might be the problem?
|
I got around this problem by forcing
|
Oh OK, yeah, got it now. That's something @stuartmorgan is fixing on path_provider itself. |
Thank you very much, my web application had stopped working due to this error but this trick solved everything |
Thank you. |
/root/.pub-cache/hosted/pub.dartlang.org/win32-1.7.1/lib/src/generated/IWbemServices.dart:495:15:
Error: 'NativeFunction' isn't a type.
Pointer<NativeFunction<_ExecMethod_Native>>.fromAddress(
^^^^^^^^^^^^^^
/root/.pub-cache/hosted/pub.dartlang.org/win32-1.7.1/lib/src/generated/IWbemServices.dart:495:7:
Error: Method not found: 'Pointer.fromAddress'.
Pointer<NativeFunction<_ExecMethod_Native>>.fromAddress(
^^^^^^^^^^^
The text was updated successfully, but these errors were encountered: