Why Flutter app does not run on chrome with the command flutter run -d chrome

Viewed 3199

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

2 Answers

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

Related