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

Cannot run webdev serve with @JS demo #409

Closed
jimmyshiau opened this issue May 29, 2019 · 1 comment
Closed

Cannot run webdev serve with @JS demo #409

jimmyshiau opened this issue May 29, 2019 · 1 comment

Comments

@jimmyshiau
Copy link

I tried to run webdev serve with chartjs demo
annotations seems not works with webdev

Uncaught TypeError: Cannot read property 'new' of undefined
    at example.main (example.dart:14)
    at Function.$0 (client.js:11298)
    at client.js:10480
    at nj.a (client.js:1187)
    at nj.$2 (client.js:4892)
    at Object.bM (client.js:1174)
    at nF.eQ (client.js:10482)
    at nF.$1 (client.js:10459)
    at mG.iB (client.js:5435)
    at mG.dv (client.js:5439)
    at eX.bz (client.js:5262)
    at dx.ds (client.js:5346)
    at fB.es (client.js:5374)
    at mE.$0 (client.js:5363)
    at Object.uw (client.js:1267)
    at kC.uB (client.js:1269)
    at lB.$1 (client.js:4843)
    at v6 (client.js:441)
    at MutationObserver.<anonymous> (client.js:449)
@jakemac53
Copy link
Contributor

If you drop back to build_web_compilers: ^1.0.0 then it should work. See dart-lang/sdk#36912 for more information and updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants