canvaskit.js:97 Uncaught SyntaxError: Unexpected token ')' (at canvaskit.js:97:504) while using local canvaskit #147491
Labels
in triage
Presently being triaged by the triage team
waiting for customer response
The Flutter team cannot make further progress on this issue until the original reporter responds
Steps to reproduce
1-flutter create test --platforms=web
2- add following script to index.html
3- run build with the following code:
flutter build web --no-web-resources-cdn --web-renderer canvaskit
4- open the builded test app on the served route
Expected results
flutter web app download canvaskit.js from local server instead of somewhere like gstatic.com and run normally without the need of internet.
Actual results
(canvaskit.js:97 Uncaught SyntaxError: Unexpected token ')' (at canvaskit.js:97:504))
makes the onEntryPointLoaded to crash and not run the test application
Code sample
Code sample
Logs
Logs
Flutter Doctor output
Doctor output
The text was updated successfully, but these errors were encountered: