-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Flutter web not working at all #3086
Comments
flutter 3.22 |
Happens the same to me with auto_route dependency in flutter 3.22: Update 16/05/24: Update 17/05/24:
By:
Inside
By:
Hope it helps :) |
My web build is busted. First I tried to address the flutter_service_worker_version error, and now when I build, in my index.html I have double quotes around the version value like this:
So then I manually delete the double quotes, and I still have the following errors: flutter.js:3 Uncaught (in promise) FlutterLoader.load requires _flutter.buildConfig to be set
So it's like whack-a-mole at this point. Any ideas what the root cause of this is? I used to be able to build web app fine, until upgrades. |
Try to changed the index.html from this discussion |
I had it like that basically (except had double quotes, tried changing to single...no difference). A huge rabbit hole since trying to fix the serviceworker deprecation. I eventually reverted back to an old copy of index.html, and it works. So I will leave for now. I wonder if I need to rebuild the web files , perhaps my files in that dir are too old (too many flutter versions ago)? And perhaps they changes several things by now. |
@nekomaruh I tried your solution but I get this error |
For me the solution was to delete the contents of /web dir (backing up any mods to index.html) and then remake using:
It was much easier than trying to fix all the changes that have occurred since I last made my project. |
I'm having a problem after update my flutter version to 3.22, I modify the index.html to new mode of app initialization. My application have some textfields, and after upgrade the number keyboard doesn't work, because the six and four keys moves the cursor to right and left and not show the number on field, how can i resolve this? |
not issue resoolve |
Update your getX to v6 candidate |
running |
Me funcionó colocar lo siguiente en el body
y
|
Deleting the web folder (save off any changes) and then taking a Nuke and Pave approach seems to be the way to do it:
|
is work form me thanks, in doc have same things |
Launching lib\main.dart on Edge in debug mode...
Warning: In index.html:37: Local variable for "serviceWorkerVersion" is deprecated. Use "{{flutter_service_worker_version}}" template token instead.
Warning: In index.html:46: "FlutterLoader.loadEntrypoint" is deprecated. Use "FlutterLoader.load" instead.
../../../AppData/Local/Pub/Cache/hosted/pub.dev/get-5.0.0-release-candidate-5/lib/get_navigation/src/routes/get_transition_mixin.dart:374:39: Error: Member not found: 'CupertinoRouteTransitionMixin.isPopGestureInProgress'.
CupertinoRouteTransitionMixin.isPopGestureInProgress(route);
^^^^^^^^^^^^^^^^^^^^^^
Failed to compile application.
Exited (1).
The text was updated successfully, but these errors were encountered: