Skip to content
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

I run my app in web platform and I received this errors, my app cannot run on web. #52963

Closed
vinhtrong opened this issue Mar 20, 2020 · 10 comments
Labels
in triage Presently being triaged by the triage team

Comments

@vinhtrong
Copy link

main.dart.js:8 GET http://localhost:51533/flutter/bin/cache/dart-sdk/lib/dev_compiler/web/dart_stack_trace_mapper.js net::ERR_ABORTED 404 (Not Found)
(anonymous) @ main.dart.js:8
main.dart.js:17 GET http://localhost:51533/flutter/bin/cache/dart-sdk/lib/dev_compiler/kernel/amd/require.js net::ERR_ABORTED 404 (Not Found)

@mo-ah-dawood
Copy link

same here

@iapicca
Copy link
Contributor

iapicca commented Mar 23, 2020

Hi @vinhtrong @mo-ah-dawood
can you please provide your flutter doctor -v ,
your flutter run --verbose
and if possible a reproducible minimal code sample.
Thank you

@iapicca iapicca added in triage Presently being triaged by the triage team waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds labels Mar 23, 2020
@vinhtrong
Copy link
Author

vinhtrong commented Mar 23, 2020

this below that what I received by flutter doctor -v command
`[√] Flutter (Channel beta, v1.15.17, on Microsoft Windows [Version 10.0.18362.720], locale en-US)
• Flutter version 1.15.17 at C:\flutter
• Framework revision 2294d75 (2 weeks ago), 2020-03-07 00:28:38 +0900
• Engine revision 5aff311
• Dart version 2.8.0 (build 2.8.0-dev.12.0 9983424a3c)

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at C:\Users\TrongNQ\AppData\Local\Android\Sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-29, build-tools 29.0.2
• ANDROID_SDK_ROOT = C:\Users\TrongNQ\AppData\Local\Android\Sdk
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
• All Android licenses accepted.

[√] Chrome - develop for the web
• Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Android Studio (version 3.6)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin version 44.0.2
• Dart plugin version 192.7761
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)

[√] VS Code, 64-bit edition (version 1.40.1)
• VS Code at C:\Program Files\Microsoft VS Code
• Flutter extension version 3.8.1

[√] Connected device (3 available)
• AOSP on IA Emulator • emulator-5554 • android-x86 • Android 9 (API 28) (emulator)
• Chrome • chrome • web-javascript • Google Chrome 80.0.3987.149
• Web Server • web-server • web-javascript • Flutter Tools

• No issues found!`

@no-response no-response bot removed the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Mar 23, 2020
@vinhtrong
Copy link
Author

And I ran my application by following these command:
flutter create myapp
cd myapp
flutter run -d Chrome --verbose

[ +66 ms] executing: [C:\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +169 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +4 ms] 2294d75
[ +1 ms] executing: [C:\flutter/] git fetch https://github.com/flutter/flutter.git --tags
[+6765 ms] Exit code 0 from: git fetch https://github.com/flutter/flutter.git --tags
[ +2 ms] From https://github.com/flutter/flutter
* branch HEAD -> FETCH_HEAD
[ ] executing: [C:\flutter/] git describe --match v*.. --first-parent --long --tags
[ +111 ms] Exit code 0 from: git describe --match v*.. --first-parent --long --tags
[ +1 ms] v1.15.17-0-g2294d75bf
[ +11 ms] executing: [C:\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ +83 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ +1 ms] origin/beta
[ ] executing: [C:\flutter/] git ls-remote --get-url origin
[ +86 ms] Exit code 0 from: git ls-remote --get-url origin
[ +1 ms] https://github.com/flutter/flutter.git
[ +209 ms] executing: [C:\flutter/] git rev-parse --abbrev-ref HEAD
[ +94 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ +1 ms] beta
[ +85 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.
[ +6 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ +1 ms] 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.
[ +59 ms] executing: C:\Users\TrongNQ\AppData\Local\Android\Sdk\platform-tools\adb.exe devices -l
[ +45 ms] Exit code 0 from: C:\Users\TrongNQ\AppData\Local\Android\Sdk\platform-tools\adb.exe devices -l
[ ] List of devices attached
emulator-5554 device product:sdk_gphone_x86_arm model:AOSP_on_IA_Emulator device:generic_x86_arm transport_id:1
[ +23 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.
[ +5 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.
[ +1 ms] 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.
[ +389 ms] Generating E:\working\myapp\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[ +156 ms] Launching lib\main.dart on Chrome in debug mode...
[ +127 ms] Serving DevTools at http://127.0.0.1:64398

[ +11 ms] Updating assets
[ +180 ms] Syncing files to device Chrome...
[ +94 ms] Generating E:\working\myapp\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[ +65 ms] <- reset
[ +18 ms] C:\flutter\bin\cache\dart-sdk\bin\dart.exe C:\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root C:\flutter\bin\cache\flutter_web_sdk/ --incremental
--target=dartdevc -Ddart.developer.causal_async_stacks=true --output-dill C:\Users\TrongNQ\AppData\Local\Temp\flutter_tool.87400e1a-6cd8-11ea-b5f7-bd94b3db1563\app.dill --libraries-spec
file:///C:/flutter/bin/cache/flutter_web_sdk/libraries.json --packages E:\working\myapp.packages -Ddart.vm.profile=false -Ddart.vm.product=false
--bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions --enable-asserts --track-widget-creation --filesystem-root
C:\Users\TrongNQ\AppData\Local\Temp\flutter_tools.87400e1b-6cd8-11ea-b5f7-bd94b3db1563 --filesystem-scheme org-dartlang-app --platform file:///C:/flutter/bin/cache/flutter_web_sdk/kernel/flutter_ddc_sdk.dill
[ +46 ms] <- compile org-dartlang-app:///web_entrypoint.dart
[+29672 ms] Syncing files to device Chrome... (completed in 29,879ms, longer than expected)
[+87367 ms] Synced 20.7MB.
[ +1 ms] <- accept
[ +438 ms] [CHROME]:
[ +5 ms] [CHROME]:DevTools listening on ws://127.0.0.1:64520/devtools/browser/831bffa0-b59b-4e70-80e5-0e6d1650f43d

@vinhtrong
Copy link
Author

image

@mo-ah-dawood
Copy link

mo-ah-dawood commented Mar 23, 2020

solved in master channel in this PR
1.15.19

@vinhtrong
Copy link
Author

solved in master channel in this PR
1.15.19

It's solved in my project. Thanks a lot.

@HawkarShwany
Copy link

solved in master channel in this PR
1.15.19

It's solved in my project. Thanks a lot.

I have similar issue. did you change the SDK version to 1.15.19 to solve it? I can't change it to that version. Is there another solution?

@mo-ah-dawood
Copy link

solved in master channel in this PR
1.15.19

It's solved in my project. Thanks a lot.

I have similar issue. did you change the SDK version to 1.15.19 to solve it? I can't change it to that version. Is there another solution?

you have to change the channel to master
This version is not in not puplished in beta or stable channel

@lock
Copy link

lock bot commented Apr 19, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

@lock lock bot locked and limited conversation to collaborators Apr 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
in triage Presently being triaged by the triage team
Projects
None yet
Development

No branches or pull requests

4 participants