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

Bug on built flutter web #2835

Closed
juanccalzadilla opened this issue Jan 15, 2024 · 2 comments
Closed

Bug on built flutter web #2835

juanccalzadilla opened this issue Jan 15, 2024 · 2 comments

Comments

@juanccalzadilla
Copy link

I got the following error when I built flutter app on web

Captura de pantalla 2024-01-15 a las 12 24 13

What it could be?

@simolus3
Copy link
Owner

Do you see the network request for that worker in the network tab of the console? If it's a 404, chances are you don't have the drift_worker.js file in your web folder - you can get it from here if that's the case.

@juanccalzadilla
Copy link
Author

Perfect! it works for me, I had to add the drift_worker.js from your assets to the web/ folder

Thanks @simolus3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants