-
Notifications
You must be signed in to change notification settings - Fork 74
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
Error starting app on chrome #47
Comments
Nice catch. I can reproduce it on the latest flutter 3.10, but it works fine in 3.7. It must be an issue in flutter that changed in the meantime. |
It seems to be an error only in debug builds: flutter/flutter#126713 |
I would say let's keep this open and track that issue above for a fix to land in flutter. There are some workarounds mentioned here: https://stackoverflow.com/questions/55113108/is-it-possible-to-lazily-use-js-libs-with-dart/55192098#55192098 and in the linked issue above. |
Our web release have been blocked due to this issue, is there any update or workaround exists? Some of the workaround suggested doesn't solve the issue, in Release mode "flutter_libphonenumber" the code is pulled from CDN - https://cdn.jsdelivr.net/gh/ruimarinho/google-libphonenumber@b7fe84af9b553f0f2db765a6e20c27fa867a971d/dist/libphonenumber.min.js Error details - Uncaught TypeError: Cannot set properties of null (setting 'exports') |
@ramachandran-muthiah looking at the above issue, they also mention this is a related one: flutter/flutter#126131 That says the fix has landed in flutter ~3 weeks ago. Does it still happen on the master channel now? |
I got this error too in the latest version. Tried on Chrome. |
TypeError: Cannot set properties of null (setting 'exports') Tried the following to no avail: context.callMethod('fixRequireJs'); |
Fix with Flutter 3.13.0, thanks ! |
Is it safe to close this now? |
The text was updated successfully, but these errors were encountered: