We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
问题 执行 flutter pub run build_runner build 后,未生成.js文件
环境信息 [✓] Flutter (Channel stable, 3.10.0, on macOS 13.4 22F66 darwin-arm64 (Rosetta), locale zh-Hans-CN) • Flutter version 3.10.0 on channel stable at /Users/xxx/Library/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 84a1e904f4 (4 months ago), 2023-05-09 07:41:44 -0700 • Engine revision d44b5a94c9 • Dart version 3.0.0 • DevTools version 2.23.1 • Pub download mirror https://pub.flutter-io.cn • Flutter download mirror https://storage.flutter-io.cn
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0) • Android SDK at /Users/xxx/Library/Android/sdk • Platform android-34, build-tools 34.0.0 • ANDROID_HOME = /Users/xxx/Library • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694) • All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 14E300c • CocoaPods version 1.12.1
[✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2022.2) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
[✓] Connected device (3 available) • BNE AL00 (mobile) • 9CR9K22C06024924 • android-arm64 • Android 12 (API 31) • macOS (desktop) • macos • darwin-arm64 • macOS 13.4 22F66 darwin-arm64 (Rosetta) • Chrome (web) • chrome • web-javascript • Google Chrome 116.0.5845.179
[✓] Network resources • All expected network resources are available.
Fair版本号 dependencies: fair: ^3.3.0
dev_dependencies: flutter_test: sdk: flutter flutter_lints: ^2.0.0 build_runner: ^2.0.0 fair_compiler: ^1.7.0
dependency_overrides: fair_version: 3.10.0
The text was updated successfully, but these errors were encountered:
在工程pubspec.yaml中添加如下配置: dependency_overrides: analyzer: 5.6.0 dart_style: 2.2.5
Sorry, something went wrong.
No branches or pull requests
问题
执行 flutter pub run build_runner build 后,未生成.js文件
环境信息
[✓] Flutter (Channel stable, 3.10.0, on macOS 13.4 22F66 darwin-arm64 (Rosetta),
locale zh-Hans-CN)
• Flutter version 3.10.0 on channel stable at /Users/xxx/Library/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 84a1e904f4 (4 months ago), 2023-05-09 07:41:44 -0700
• Engine revision d44b5a94c9
• Dart version 3.0.0
• DevTools version 2.23.1
• Pub download mirror https://pub.flutter-io.cn
• Flutter download mirror https://storage.flutter-io.cn
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at /Users/xxx/Library/Android/sdk
• Platform android-34, build-tools 34.0.0
• ANDROID_HOME = /Users/xxx/Library
• Java binary at: /Applications/Android
Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build
17.0.6+0-17.0.6b802.4-9586694)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 14E300c
• CocoaPods version 1.12.1
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2022.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build
17.0.6+0-17.0.6b802.4-9586694)
[✓] Connected device (3 available)
• BNE AL00 (mobile) • 9CR9K22C06024924 • android-arm64 • Android 12 (API 31)
• macOS (desktop) • macos • darwin-arm64 • macOS 13.4 22F66 darwin-arm64 (Rosetta)
• Chrome (web) • chrome • web-javascript • Google Chrome 116.0.5845.179
[✓] Network resources
• All expected network resources are available.
Fair版本号
dependencies:
fair: ^3.3.0
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^2.0.0
build_runner: ^2.0.0
fair_compiler: ^1.7.0
dependency_overrides:
fair_version: 3.10.0
The text was updated successfully, but these errors were encountered: