2

I have been working on a project with Flutter and it works on mobile without issue. but when I want to run it on web using the command flutter run -d chrome the browser opens with a blank screen. when I inspect the page the console show the following errors.

Failed to load resource: the server responded with a status of 404 (Not Found) dart_stack_trace_mapper.js:1

Failed to load resource: the server responded with a status of 404 (Not Found) require.js:1

Failed to load resource: the server responded with a status of 404 (Not Found) :59034/favicon.ico:1

4
  • Please add more clarity to your question, code, context, details that might help people assist you Commented Mar 31, 2020 at 17:56
  • try this link please flutter.dev/docs/get-started/web Commented Mar 31, 2020 at 17:57
  • I have followed all those steps in that link. I don't have any issues with that. the problem is when the browser opens nothing shows up Commented Mar 31, 2020 at 18:00
  • I was having the same problem as you and running flutter channel master as pointed by @anonymous worked for me. Commented Apr 2, 2020 at 0:37

2 Answers 2

5

Had the same issue, I switched to "master" channel, I supposed there is an issue with "beta" channel

Sign up to request clarification or add additional context in comments.

Comments

2

You should change flutter channel to master

flutter channel master

Then, it will work.

(From this github issue: https://github.com/flutter/flutter/issues/52963)

1 Comment

not working by changing channel to master

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.