Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/flutter/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/dart/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Flutter 由于不支持依赖项,颤振web失败_Flutter_Dart_Dependencies_Flutter Web - Fatal编程技术网

Flutter 由于不支持依赖项,颤振web失败

Flutter 由于不支持依赖项,颤振web失败,flutter,dart,dependencies,flutter-web,Flutter,Dart,Dependencies,Flutter Web,我正在尝试为flutter构建web开发 依赖项阻止我创建应用程序 我如何才能创造条件来实现应用程序的web开发 webdev could not run for this project. The `build_web_compilers` version – 1.2.3 – is not within the allowed constraint – >=2.6.1 <3.0.0. You have a dependency on `cloud_firestore` which

我正在尝试为flutter构建web开发

依赖项阻止我创建应用程序

我如何才能创造条件来实现应用程序的web开发

webdev could not run for this project.
The `build_web_compilers` version – 1.2.3 – is not within the allowed constraint – >=2.6.1 <3.0.0.
You have a dependency on `cloud_firestore` which is not supported for flutter_web tech preview. See https://flutter.dev/web for more details.
You have a dependency on `cupertino_icons` which is not supported for flutter_web tech preview. See https://flutter.dev/web for more details.
You have a dependency on `firebase_auth` which is not supported for flutter_web tech preview. See https://flutter.dev/web for more details.
You have a dependency on `firebase_core` which is not supported for flutter_web tech preview. See https://flutter.dev/web for more details.
You have a dependency on `flutter` which is not supported for flutter_web tech preview. See https://flutter.dev/web for more details.
You have a dependency on `flutter_test` which is not supported for flutter_web tech preview. See https://flutter.dev/web for more details.
You have a dependency on `image_picker` which is not supported for flutter_web tech preview. See https://flutter.dev/web for more details.
You have a dependency on `path_provider` which is not supported for flutter_web tech preview. See https://flutter.dev/web for more details.
You have a dependency on `shared_preferences` which is not supported for flutter_web tech preview. See https://flutter.dev/web for more details.
You have a dependency on `url_launcher` which is not supported for flutter_web tech preview. See https://flutter.dev/web for more details.
pub finished with exit code 78

User@DESKTOP-9470-17 MINGW64 ~/Desktop/Coding Updated/Single Admin/Version Feb 21/grocery_store_admin
/flutter.dev/web for more details.
You have a dependency on `flutter_test` which is not supported for flutter_web tech preview. See https://flutter.dev/web for more details.
You have a dependency on `image_picker` which is not supported for flutter_web tech preview. See https://flutter.dev/web for more details.
You have a dependency on `path_provider` which is not supported for flutter_web tech preview. See https://flutter.dev/web for more details.
You have a dependency on `shared_preferences` which is not supported for flutter_web tech preview. See https://flutter.dev/web for more details.
You have a dependency on `url_launcher` which is not supported for flutter_web tech preview. See https://flutter.dev/web for more details.```
webdev无法为此项目运行。
“build_web_compilers”版本–1.2.3–不在允许的约束范围内–>=2.6.1,如您在此处所见

尝试运行:

$ flutter channel stable
$ flutter upgrade

但要小心运行颤振通道稳定将用稳定版本替换当前版本的颤振,如果连接速度慢,则可能需要时间。在此之后,运行flatter升级将您的安装升级到最新版本。返回到另一个通道(beta、dev或master)需要显式调用颤振通道。

与SDKI问题相同的结果请参见,尝试删除您的.dart_工具目录。重新运行pub-get,然后buildflatter-web似乎无法在稳定版本上运行