aurelia / bundler

A library for bundling JavaScript, HTML and CSS for use with SystemJS.
MIT License
37 stars 25 forks source link

Bundle causes SystemJS runtime exception #91

Closed stefan505 closed 8 years ago

stefan505 commented 8 years ago

I've upgraded all my aurelia libs and the bundling appears to have stopped working:

Uncaught (in promise) Error: Cannot read property 'createDefine' of undefined
    Evaluating http://localhost:52383/bundle-vendor-439d38ee42.js
    Error loading http://localhost:52383/bundle-vendor-439d38ee42.js
    Error loading http://localhost:52383/jspm_packages/npm/aurelia-bootstrapper@1.0.0-beta.1.1.4.js
    at t (http://localhost:52383/jspm_packages/system.js:4:61)
    at g (http://localhost:52383/jspm_packages/system.js:4:9747)
    at http://localhost:52383/jspm_packages/system.js:4:8054

Using JSPM 0.16.30 with SystemJS 0.19.23. I did pick up something similar here: https://github.com/systemjs/systemjs/issues/1127

Not sure if / how it relates to aurelia-bundler?

gheoan commented 8 years ago

As a workaround install jspm@0.16.29 locally. In your project:

npm install -D jspm@0.16.29

Then:

jspm dl-loader
stefan505 commented 8 years ago

Yip, thanks @Gheoan, I've already done that. Just wanted to raise the issue nonetheless so that Aurelia guys are made aware of it.

EisenbergEffect commented 8 years ago

@ahmedshuhel It seems system.js/jspm breaking changes will never end..... Please look into this when you can. Thanks for your hard work.

EisenbergEffect commented 8 years ago

@ahmedshuhel Can you look at this please?

EisenbergEffect commented 8 years ago

@stefan505 Is this still an issue?

ahmedshuhel commented 8 years ago

I believe this is not an issue anymore. Closing it. @stefan505 If you still are facing this problem, please create a new issue with a github repo that reproduces this bug/behavior. Thank you.