-
Notifications
You must be signed in to change notification settings - Fork 29.1k
Open
Labels
toolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.
Description
Steps to reproduce
- Run
flutter build web --no-wasm-dry-run
- Flutter builds the app in Wasm mode. It builds as if the
--wasm
flag was used.
Expected results
The expected behavior (IMHO), is to build only the JS build, without doing a Wasm dry run.
CLI command description:
Compiles wasm in dry run mode during JS only compilations. Disable to suppress warnings. (defaults to on)
My interpretation is that turning the wasm dry run off in JS only compilation should turn off the dry run, not change the build into wasm mode.
Actual results
Builds in Wasm mode for real, not as a dry run, and fails.
Code sample
Code sample
flutter build web --no-wasm-dry-run
Screenshots or Video
Screenshots / Video demonstration
[Upload media here]
Logs
Logs
[Paste your logs here]
Flutter Doctor output
Doctor output
[√] Flutter (Channel stable, 3.35.1, on Microsoft Windows [Version 10.0.26100.4946], locale en-US) [272ms]
• Flutter version 3.35.1 on channel stable at C:\Users\searc\Documents\Development\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 20f8274939 (6 days ago), 2025-08-14 10:53:09 -0700
• Engine revision 1e9a811bf8
• Dart version 3.9.0
• DevTools version 2.48.0
• Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, enable-windows-desktop, enable-android,
enable-ios, cli-animations, enable-lldb-debugging
[√] Windows Version (Windows 11 or higher, 24H2, 2009) [1,018ms]
[!] Android toolchain - develop for Android devices (Android SDK version 35.0.1) [4.4s]
• Android SDK at C:\Users\searc\AppData\Local\Android\sdk
• Emulator version 35.6.11.0 (build_id 13610412) (CL:N/A)
• Platform android-35, build-tools 35.0.1
• Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
This is the JDK bundled with the latest Android Studio installation on this machine.
To manually set the JDK path, use: `flutter config --jdk-dir="path/to/jdk"`.
• Java version OpenJDK Runtime Environment (build 21.0.6+-13391695-b895.109)
! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses
[√] Chrome - develop for the web [108ms]
• Chrome at C:\Users\searc\AppData\Local\Google\Chrome\Application\chrome.exe
[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.14.6 (June 2025)) [107ms]
• Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
• Visual Studio Community 2022 version 17.14.36212.18
• Windows 10 SDK version 10.0.26100.0
[√] Android Studio (version 2025.1.1) [10ms]
• Android Studio at C:\Program Files\Android\Android Studio
• 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 21.0.6+-13391695-b895.109)
[√] VS Code (version 1.103.1) [8ms]
• VS Code at C:\Users\searc\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.116.0
[√] Connected device (3 available) [179ms]
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.26100.4946]
• Chrome (web) • chrome • web-javascript • Google Chrome 139.0.7258.128
• Edge (web) • edge • web-javascript • Microsoft Edge 139.0.3405.86
[√] Network resources [370ms]
• All expected network resources are available.
Metadata
Metadata
Assignees
Labels
toolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.