frankwallis / plugin-typescript

TypeScript loader for SystemJS
MIT License
248 stars 47 forks source link

"SystemJS.fetch is not a function" with SystemJS 0.20 #187

Closed nicolashenry closed 7 years ago

nicolashenry commented 7 years ago

I got a "SystemJS.fetch is not a function" error using plugin-typescript (6.0.1) with SystemJS 0.20.

I found this if it can help : https://github.com/systemjs/systemjs/issues/1543

nicklasb commented 7 years ago

The error is thrown at plugin.js:431. Basically, this breaks the library, or am I wrong?

frankwallis commented 7 years ago

Yes this breaks the library when you have typescriptOptions.tsconfig set. I am working on a fix, will hopefully release tonight but there are other issues with type-checking in 0.20

nicklasb commented 7 years ago

FYI: Updated to 6.03, now getting Error: SystemJS.locate is not a function instead.

frankwallis commented 7 years ago

This will no longer be an issue from 7.0.0 onwards.