Error: Cannot redefine property: __useDefault #531
Description
After upgrading my Aurelia project to SystemJs 0.20.7 I started getting the following error
Uncaught (in promise) Error: Cannot redefine property: __useDefault Evaluating https://localhost:44344/jspm_packages/npm/aurelia-framework@1.0.8/aurelia-framework.js Loading https://localhost:44344/jspm_packages/npm/aurelia-framework@1.0.8/aurelia-framework.js at Function.defineProperty (<anonymous>) at eval (https://localhost:44344/jspm_packages/npm/aurelia-framework@1.0.8/aurelia-framework.js:19:12) at Array.forEach (native) at Object.eval (https://localhost:44344/jspm_packages/npm/aurelia-framework@1.0.8/aurelia-framework.js:17:32) at i (https://localhost:44344/jspm_packages/system.js:5:9594) at j (https://localhost:44344/jspm_packages/system.js:4:7455) at S (https://localhost:44344/jspm_packages/system.js:4:6914) at x (https://localhost:44344/jspm_packages/system.js:4:5952) at https://localhost:44344/jspm_packages/system.js:5:6510
It is caused by this piece of code https://github.com/aurelia/framework/blob/master/dist/amd/aurelia-framework.js#L17 which used to work fine for SystemJs 0.19.
I've found this commit f2bb139 which seems to have caused my issue.
It might be that I am missing some vital configuration. Any advice would be appreciated.