rolaveric / karma-systemjs

Karma plugin for using SystemJS as a module loader
MIT License
40 stars 19 forks source link

undefined is not a function (evaluating 'System.config(...)') #87

Closed ffflabs closed 6 years ago

ffflabs commented 7 years ago

For some reason, System v0.19.42 is making karma-systemjs fail. The complete error reads:

PhantomJS 2.1.1 (Linux 0.0.0) ERROR
  TypeError: undefined is not a function (evaluating 'System.config(karma.config.systemjs.config)')
  at /home/ffflabs/instagis/instagis-app/node_modules/karma-systemjs/lib/adapter.js:165

What's stranger is: this happens when I put system.js in the includeFiles. However, it doesn't happen if I use system.src.js instead.

Perhaps I shouldn't include any of them to start with.