-
Notifications
You must be signed in to change notification settings - Fork 1.7k
js-interop: NoSuchMethodError when compiled to JavaScript #26321
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
Please disable 'minify' and show stack trace.
maybe duplicate: #25785 |
I got the following stacktrace after disabling minify
|
Yes it is the same issue. |
Closing as dupe. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the issue you're seeing
I get the following error when I access a web page built by
pub build
NoSuchMethodError: method not found: 'open$0' (J.getInterceptor$x(...).open$0 is not a function)
Does it happen in Dartium or when compiled to JavaScript?
This is happening after the code is compiled to JavaScript.
I checked in Dartium and Chrome and both had the same error.
Dart VM version: 1.15.0 (Wed Mar 09 10:07:59 2016) on "windows_x64"
0.6.0
Failing code:
https://github.com/rillomas/js_interop_issue
pub get
pub build
cd build/web
python -m SimpleHTTPServer
if you comment out the following line in
index.dart
, the code will work properly._heartbeater = new Timer.periodic(HEARTBEAT_INTERVAL, _pulseHeartbeat);
The text was updated successfully, but these errors were encountered: