Skip to content

[web]: Build web is not working #55008

@wdvictor

Description

@wdvictor

I'm working in a flutter android/web project. It's has been working perfectly fine until now. When I try to build with flutter build web -v, the modifications are not built, remains the same old version, and none error are throwing in the process.
The modification work's perfect in debug mode.

Logs

flutter build web -v output

[  +35 ms] executing: [/home/victor/flutter/] git -c log.showSignature=false log
-n 1 --pretty=format:%H
[  +52 ms] Exit code 0 from: git -c log.showSignature=false log -n 1
--pretty=format:%H
[        ] d3ed9ec945f8869f0e136c357d0c2a6be2b60c98
[        ] executing: [/home/victor/flutter/] git describe --match *.*.*
--first-parent --long --tags
[   +7 ms] Exit code 0 from: git describe --match *.*.* --first-parent --long
--tags
[        ] 1.17.0-dev.3.1-0-gd3ed9ec94
[  +20 ms] executing: [/home/victor/flutter/] git rev-parse --abbrev-ref
--symbolic @{u}
[   +9 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/beta
[        ] executing: [/home/victor/flutter/] git ls-remote --get-url origin
[   +5 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[ +105 ms] executing: [/home/victor/flutter/] git rev-parse --abbrev-ref HEAD
[   +7 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] beta
[  +35 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping
update.
[   +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required,
skipping update.
[  +11 ms] Artifact Instance of 'MaterialFonts' is not required, skipping
update.
[        ] Artifact Instance of 'GradleWrapper' is not required, skipping
update.
[        ] Artifact Instance of 'AndroidMavenArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping
update.
[   +1 ms] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] Artifact Instance of 'WindowsEngineArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required,
skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping
update.
[ +150 ms] Found plugin cloud_firestore at
/home/victor/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.13.5/
[  +14 ms] Found plugin cloud_firestore_web at
/home/victor/.pub-cache/hosted/pub.dartlang.org/cloud_firestore_web-0.1.1+2/
[  +24 ms] Found plugin firebase_auth at
/home/victor/.pub-cache/hosted/pub.dartlang.org/firebase_auth-0.15.5+3/
[   +4 ms] Found plugin firebase_auth_web at
/home/victor/.pub-cache/hosted/pub.dartlang.org/firebase_auth_web-0.1.2/
[   +2 ms] Found plugin firebase_core at
/home/victor/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.4.4+3/
[   +4 ms] Found plugin firebase_core_web at
/home/victor/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-0.1.1+2/
[   +2 ms] Found plugin firebase_storage at
/home/victor/.pub-cache/hosted/pub.dartlang.org/firebase_storage-3.1.5/
[  +27 ms] Found plugin google_sign_in at
/home/victor/.pub-cache/hosted/pub.dartlang.org/google_sign_in-4.4.1/
[   +3 ms] Found plugin google_sign_in_web at
/home/victor/.pub-cache/hosted/pub.dartlang.org/google_sign_in_web-0.8.4/
[  +38 ms] Found plugin path_provider at
/home/victor/.pub-cache/hosted/pub.dartlang.org/path_provider-1.6.5/
[   +2 ms] Found plugin path_provider_macos at
/home/victor/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-0.0.4/
[  +22 ms] Found plugin sqflite at
/home/victor/.pub-cache/hosted/pub.dartlang.org/sqflite-1.3.0/
[  +13 ms] Found plugin url_launcher at
/home/victor/.pub-cache/hosted/pub.dartlang.org/url_launcher-5.4.2/
[   +1 ms] Found plugin url_launcher_macos at
/home/victor/.pub-cache/hosted/pub.dartlang.org/url_launcher_macos-0.0.1+4/
[   +2 ms] Found plugin url_launcher_web at
/home/victor/.pub-cache/hosted/pub.dartlang.org/url_launcher_web-0.1.1+1/
[   +4 ms] Found plugin webview_flutter at
/home/victor/.pub-cache/hosted/pub.dartlang.org/webview_flutter-0.3.20/
[ +177 ms] Found plugin cloud_firestore at
/home/victor/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.13.5/
[   +3 ms] Found plugin cloud_firestore_web at
/home/victor/.pub-cache/hosted/pub.dartlang.org/cloud_firestore_web-0.1.1+2/
[  +11 ms] Found plugin firebase_auth at
/home/victor/.pub-cache/hosted/pub.dartlang.org/firebase_auth-0.15.5+3/
[   +3 ms] Found plugin firebase_auth_web at
/home/victor/.pub-cache/hosted/pub.dartlang.org/firebase_auth_web-0.1.2/
[   +2 ms] Found plugin firebase_core at
/home/victor/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.4.4+3/
[   +2 ms] Found plugin firebase_core_web at
/home/victor/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-0.1.1+2/
[   +1 ms] Found plugin firebase_storage at
/home/victor/.pub-cache/hosted/pub.dartlang.org/firebase_storage-3.1.5/
[  +16 ms] Found plugin google_sign_in at
/home/victor/.pub-cache/hosted/pub.dartlang.org/google_sign_in-4.4.1/
[   +2 ms] Found plugin google_sign_in_web at
/home/victor/.pub-cache/hosted/pub.dartlang.org/google_sign_in_web-0.8.4/
[  +20 ms] Found plugin path_provider at
/home/victor/.pub-cache/hosted/pub.dartlang.org/path_provider-1.6.5/
[   +1 ms] Found plugin path_provider_macos at
/home/victor/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-0.0.4/
[  +13 ms] Found plugin sqflite at
/home/victor/.pub-cache/hosted/pub.dartlang.org/sqflite-1.3.0/
[  +10 ms] Found plugin url_launcher at
/home/victor/.pub-cache/hosted/pub.dartlang.org/url_launcher-5.4.2/
[   +1 ms] Found plugin url_launcher_macos at
/home/victor/.pub-cache/hosted/pub.dartlang.org/url_launcher_macos-0.0.1+4/
[   +3 ms] Found plugin url_launcher_web at
/home/victor/.pub-cache/hosted/pub.dartlang.org/url_launcher_web-0.1.1+1/
[   +3 ms] Found plugin webview_flutter at
/home/victor/.pub-cache/hosted/pub.dartlang.org/webview_flutter-0.3.20/
[  +73 ms] Generating
/home/victor/Github/arrazo_cpc/android/app/src/main/java/io/flutter/plugins/Gene
ratedPluginRegistrant.java
[  +82 ms] Found plugin cloud_firestore at
/home/victor/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.13.5/
[   +2 ms] Found plugin cloud_firestore_web at
/home/victor/.pub-cache/hosted/pub.dartlang.org/cloud_firestore_web-0.1.1+2/
[   +8 ms] Found plugin firebase_auth at
/home/victor/.pub-cache/hosted/pub.dartlang.org/firebase_auth-0.15.5+3/
[   +3 ms] Found plugin firebase_auth_web at
/home/victor/.pub-cache/hosted/pub.dartlang.org/firebase_auth_web-0.1.2/
[   +2 ms] Found plugin firebase_core at
/home/victor/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.4.4+3/
[   +2 ms] Found plugin firebase_core_web at
/home/victor/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-0.1.1+2/
[   +1 ms] Found plugin firebase_storage at
/home/victor/.pub-cache/hosted/pub.dartlang.org/firebase_storage-3.1.5/
[  +15 ms] Found plugin google_sign_in at
/home/victor/.pub-cache/hosted/pub.dartlang.org/google_sign_in-4.4.1/
[   +1 ms] Found plugin google_sign_in_web at
/home/victor/.pub-cache/hosted/pub.dartlang.org/google_sign_in_web-0.8.4/
[  +13 ms] Found plugin path_provider at
/home/victor/.pub-cache/hosted/pub.dartlang.org/path_provider-1.6.5/
[        ] Found plugin path_provider_macos at
/home/victor/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-0.0.4/
[  +10 ms] Found plugin sqflite at
/home/victor/.pub-cache/hosted/pub.dartlang.org/sqflite-1.3.0/
[   +8 ms] Found plugin url_launcher at
/home/victor/.pub-cache/hosted/pub.dartlang.org/url_launcher-5.4.2/
[        ] Found plugin url_launcher_macos at
/home/victor/.pub-cache/hosted/pub.dartlang.org/url_launcher_macos-0.0.1+4/
[   +1 ms] Found plugin url_launcher_web at
/home/victor/.pub-cache/hosted/pub.dartlang.org/url_launcher_web-0.1.1+1/
[   +3 ms] Found plugin webview_flutter at
/home/victor/.pub-cache/hosted/pub.dartlang.org/webview_flutter-0.3.20/
[  +12 ms] Found plugin cloud_firestore at
/home/victor/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.13.5/
[   +1 ms] Found plugin cloud_firestore_web at
/home/victor/.pub-cache/hosted/pub.dartlang.org/cloud_firestore_web-0.1.1+2/
[   +8 ms] Found plugin firebase_auth at
/home/victor/.pub-cache/hosted/pub.dartlang.org/firebase_auth-0.15.5+3/
[   +2 ms] Found plugin firebase_auth_web at
/home/victor/.pub-cache/hosted/pub.dartlang.org/firebase_auth_web-0.1.2/
[   +1 ms] Found plugin firebase_core at
/home/victor/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.4.4+3/
[   +1 ms] Found plugin firebase_core_web at
/home/victor/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-0.1.1+2/
[        ] Found plugin firebase_storage at
/home/victor/.pub-cache/hosted/pub.dartlang.org/firebase_storage-3.1.5/
[   +8 ms] Found plugin google_sign_in at
/home/victor/.pub-cache/hosted/pub.dartlang.org/google_sign_in-4.4.1/
[   +1 ms] Found plugin google_sign_in_web at
/home/victor/.pub-cache/hosted/pub.dartlang.org/google_sign_in_web-0.8.4/
[  +11 ms] Found plugin path_provider at
/home/victor/.pub-cache/hosted/pub.dartlang.org/path_provider-1.6.5/
[        ] Found plugin path_provider_macos at
/home/victor/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-0.0.4/
[   +7 ms] Found plugin sqflite at
/home/victor/.pub-cache/hosted/pub.dartlang.org/sqflite-1.3.0/
[   +5 ms] Found plugin url_launcher at
/home/victor/.pub-cache/hosted/pub.dartlang.org/url_launcher-5.4.2/
[        ] Found plugin url_launcher_macos at
/home/victor/.pub-cache/hosted/pub.dartlang.org/url_launcher_macos-0.0.1+4/
[   +1 ms] Found plugin url_launcher_web at
/home/victor/.pub-cache/hosted/pub.dartlang.org/url_launcher_web-0.1.1+1/
[   +2 ms] Found plugin webview_flutter at
/home/victor/.pub-cache/hosted/pub.dartlang.org/webview_flutter-0.3.20/
[   +9 ms] Generating
/home/victor/Github/arrazo_cpc/android/app/src/main/java/io/flutter/plugins/Gene
ratedPluginRegistrant.java
[  +10 ms] Compiling lib/main.dart for the Web...
[  +18 ms] Initializing file store
[  +21 ms] Done initializing file store
[  +98 ms] invalidated build due to missing files:
/home/victor/Github/arrazo_cpc/packages/flutter_tools/lib/src/build_system/targe
ts/web.dart
[  +21 ms] web_entrypoint: Starting due to {InvalidatedReason.inputMissing}
[   +4 ms] web_entrypoint: Complete
[+3549 ms] Skipping target: dart2js
[ +801 ms] Skipping target: web_release_bundle
[   +4 ms] Skipping target: web_service_worker
[   +1 ms] Persisting file store
[  +17 ms] Done persisting file store
[  +44 ms] Compiling lib/main.dart for the Web... (completed in 4.6s)
[   +5 ms] "flutter web" took 5,590ms.

flutter doctor -v output

[✓] Flutter (Channel beta, v1.17.0, on Linux, locale en_US.UTF-8)
    • Flutter version 1.17.0 at /home/victor/flutter
    • Framework revision d3ed9ec945 (10 days ago), 2020-04-06 14:07:34 -0700
    • Engine revision c9506cb8e9
    • Dart version 2.8.0 (build 2.8.0-dev.18.0 eea9717938)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
• Android SDK at /home/victor/Android/Sdk
• Platform android-29, build-tools 29.0.3
• Java binary at: /home/victor/SysProgs/android-studio/jre/bin/java
• Java version OpenJDK Runtime Environment (build
1.8.0_212-release-1586-b4-5784211)
• All Android licenses accepted.

[✓] Chrome - develop for the web
• CHROME_EXECUTABLE = /usr/bin/chromium-browser

[✓] Android Studio (version 3.6)
• Android Studio at /home/victor/SysProgs/android-studio
• Flutter plugin version 45.1.1
• Dart plugin version 192.7761
• Java version OpenJDK Runtime Environment (build
1.8.0_212-release-1586-b4-5784211)

[✓] VS Code (version 1.44.1)
• VS Code at /usr/share/code
• Flutter extension version 3.9.1

[✓] Connected device (2 available)
• Chrome • chrome • web-javascript • Using PPAPI flash.
Chromium 80.0.3987.163 Built on Ubuntu , running on LinuxMint 19.3
• Web Server • web-server • web-javascript • Flutter Tools

• No issues found!

Metadata

Metadata

Assignees

No one assigned

    Labels

    in triagePresently being triaged by the triage team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions