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

Error: Assertion failed: isValid is not true #8

Closed
sgehrman opened this issue Mar 25, 2022 · 2 comments
Closed

Error: Assertion failed: isValid is not true #8

sgehrman opened this issue Mar 25, 2022 · 2 comments
Labels
help wanted Extra attention is needed question Further information is requested

Comments

@sgehrman
Copy link

I keep getting this.

Exception has occurred.
"Error: Assertion failed: org-dartlang-sdk:///flutter_web_sdk/lib/engine/engine/html/path/path_ref.dart:898:12
isValid
is not true
at Object.throw
[as throw] (http://localhost:42043/dart_sdk.js:5067:11)
at Object.assertFailed (http://localhost:42043/dart_sdk.js:4992:15)
at _engine.PathRef.shiftedFrom.debugValidate (http://localhost:42043/dart_sdk.js:161437:31)
at new _engine.PathRef.shiftedFrom (http://localhost:42043/dart_sdk.js:161574:10)
at new _engine.SurfacePath.shiftedFrom (http://localhost:42043/dart_sdk.js:159586:21)

image

@sgehrman
Copy link
Author

I"m getting this in your example project too.

Try flutter web with html renderer

index.html:

<script type="text/javascript"> // scrolling is faster on html, and imgs work without cors errors let useHtml = true; if (useHtml) { window.flutterWebRenderer = "html"; } else { window.flutterWebRenderer = "canvaskit"; } </script>

@casvanluijtelaar
Copy link
Owner

I'm can't reproduce this with the example project:

  • flutter run -d chrome --web-renderer html

make sure your browser and flutter are up to date.

@casvanluijtelaar casvanluijtelaar added help wanted Extra attention is needed question Further information is requested labels Jun 2, 2022
@casvanluijtelaar casvanluijtelaar closed this as not planned Won't fix, can't repro, duplicate, stale Jun 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants