Skip to content
This repository has been archived by the owner on Aug 7, 2018. It is now read-only.

Cannot read property createDefine of undefined.. #43

Open
justinkames opened this issue Mar 23, 2016 · 2 comments
Open

Cannot read property createDefine of undefined.. #43

justinkames opened this issue Mar 23, 2016 · 2 comments

Comments

@justinkames
Copy link

Hi,

I'm getting the following error with the system-js-route-bundler after building :

Uncaught (in promise) Error: TypeError: Cannot read property 'createDefine' of undefined(…)
app.js =>

"bundle";!function(){var _removeDefine=System.get("@@amd-helpers").createDefine();!function(t) {"function"==typeof d...

Using it with the https://github.com/Swimlane/angular1-systemjs-seed project.

Any clues on why this is happening? Thanks!

@justinkames
Copy link
Author

Found a fix here : aurelia/bundler#91

As a workaround install [email protected] locally. In your project:

$ npm install -D [email protected]
$ jspm dl-loader

Now im getting :

Uncaught (in promise) SyntaxError: Unexpected token <
    Evaluating http://localhost:3000/jspm_packages/github/systemjs/[email protected]

@amcdnl amcdnl added bug and removed bug labels Mar 23, 2016
@amcdnl
Copy link
Contributor

amcdnl commented Mar 23, 2016

This only supports v0.16 of JSPM. We are working on supporting 0.17 though.

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

No branches or pull requests

3 participants