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

ember 2.14.0 debug: classCallCheck issue #15533

Closed
stefanpenner opened this issue Jul 20, 2017 · 8 comments
Closed

ember 2.14.0 debug: classCallCheck issue #15533

stefanpenner opened this issue Jul 20, 2017 · 8 comments

Comments

@stefanpenner
Copy link
Member

stefanpenner commented Jul 20, 2017

ember.debug.js in 2.14.0 contains two ember-babel AMD modules, one with classCallCheck and one without classCallCheck this causes:

Uncaught TypeError: (0 , _emberBabel.classCallCheck) is not a function
    at new ValueReference (vendor.js:28729)
    at vendor.js:28736
    at internalRequire (vendor.js:9308)
    at internalRequire (vendor.js:9304)
    at internalRequire (vendor.js:9304)
    at internalRequire (vendor.js:9304)
    at internalRequire (vendor.js:9304)
    at requireModule (vendor.js:9255)
    at vendor.js:82657
    at vendor.js:82659
@stefanpenner
Copy link
Member Author

Actually: http://builds.emberjs.com/release/ember.debug.js seems correct, but the file in bower seems to be the offender.

@stefanpenner
Copy link
Member Author

@stefanpenner
Copy link
Member Author

Ya, I can't actually figure out where this file is coming from for me....

@rwjblue
Copy link
Member

rwjblue commented Jul 20, 2017

@stefanpenner the issue is what I was trying to fix here: #15199. Basically, ember-template-compiler.js uses prod but ember.debug.js does not. Since the ember-babel module has not already been required at the time ember-template-compiler.js is loaded, the subsequent definition of a prod version ember-babel clobbers the proper debug build version.

@ctcpip
Copy link

ctcpip commented Sep 23, 2017

Is this issue related? ember-cli/ember-cli#7329

@rwjblue
Copy link
Member

rwjblue commented Oct 5, 2017

Ultimately the same issue as #15533.

@ctcpip
Copy link

ctcpip commented Oct 5, 2017

this as well? #15671

@rwjblue
Copy link
Member

rwjblue commented Apr 21, 2018

This should be resolved now.

@rwjblue rwjblue closed this as completed Apr 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants