-
Notifications
You must be signed in to change notification settings - Fork 4k
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
No overloaded function could convert all the argument types when trying to run app on windows platform #16958
Comments
Hi @SelaseKay |
Are the conflicts related to flutterfire plugins? |
Yes, when I updated firebase_auth to 5.4.0, I had do update firabase_core, firebase_core, firebase_core_web, firebase_storage_platform_interface. This last one ended with the message below: Resolving dependencies... |
Could you share the entire error? |
C:\Users\Cossito\AppData\Roaming\FlutterFlow\flutterflow\flutter\bin\flutter.bat --no-color pub get You can try the following suggestion to make the pubspec resolve:
C:\Users\Cossito\AppData\Roaming\FlutterFlow\flutterflow\flutter\bin\flutter.bat --no-color pub get You can try the following suggestion to make the pubspec resolve:
C:\Users\Cossito\AppData\Roaming\FlutterFlow\flutterflow\flutter\bin\flutter.bat --no-color pub get You can try the following suggestion to make the pubspec resolve:
C:\Users\Cossito\AppData\Roaming\FlutterFlow\flutterflow\flutter\bin\flutter.bat --no-color pub get You can try the following suggestion to make the pubspec resolve:
|
Kindly share the dependencies in you pubspec.yml |
After all changes I have done, the pubspec.yaml looks like this now: name: admin_listas_digitais publish_to: 'none' # Remove this line if you wish to publish to pub.dev version: 1.0.0+1 environment: dependencies: cupertino_icons: ^1.0.0 crypto: any dev_dependencies: flutter: uses-material-design: true To add assets to your application, add an assets section, like this:assets: |
This is my Resolving dependencies... (9.9s) dependencies:
dev dependencies:
dependency overrides:
transitive dependencies:
|
Could you remove |
It still don´t work. |
Looks like the problem is with |
The root issue has been addressed in the current release. What you're encountering now is a dependency conflict. Once you've resolved that, everything should work as expected. |
Hey @helioc0. We need more information to resolve this issue but there hasn't been an update in 7 weekdays. I'm marking the issue as stale and if there are no new updates in the next 7 days I will close it automatically. If you have more information that will help us get to the bottom of this, just add a comment! |
Since there haven't been any recent updates here, I am going to close this issue. @helioc0 if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this. |
Related to firebase_auth, see: firebase/flutterfire#16958
Related to firebase_auth, see: firebase/flutterfire#16958
Is there an existing issue for this?
Which plugins are affected?
Auth
Which platforms are affected?
Windows
Description
Recently, while working with the
firebase_auth
plugin in Flutter for a desktop application on Windows, I encountered a compilation error related to the use ofstd::variant
in the C++ library generated by the plugin. The specific issue is a C++ compilererror (C2665)
, indicating that the provided arguments tostd::variant
do not match any available overloads. Additionally, there is a deprecation warning in theCMakeLists.txt
file, suggesting a potential incompatibility with newer versions of CMake.Upon reviewing the development environment, I confirmed that all major tools are up to date:
Flutter 3.24.2 on the stable channel.
Dart 3.5.2.
Visual Studio 2022 with the Windows 10 SDK (10.0.22621.0).
CMake is present but outdated in the plugin's generated project.
Reproducing the issue
ND
Firebase Core version
3.8.0
Flutter Version
3.24.2
Relevant Log Output
Flutter dependencies
Expand
Flutter dependencies
snippetAdditional context and comments
No response
The text was updated successfully, but these errors were encountered: