-
-
Notifications
You must be signed in to change notification settings - Fork 153
Throws error when built for web -- Uncaught TypeError: Cannot read property 'cy' of null #114
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
Comments
This is my bad. It has something to do with the types that I am registering via the |
Hey man, I know it's an old issue but I am having the same one. Could you try recall how did you fix it? |
From what I remember, it might have been a few things:
I solved it in my case by removing registrations (or replacing with dummy impls) until the error stopped, and adding back in half at a time to find the culprit. It would probably also help if you avoided minifying your code when building. If you're running it via |
Thanks! I am indeed using Profile build mode but I didn't know that |
Works fine when used with
flutter run
, but when built viaflutter build web
then loading the page results in the above error being printed to the console.For context, my browser is Chrome and here is the output of
flutter doctor -v
The text was updated successfully, but these errors were encountered: