Closed FostUK closed 7 years ago
Using the example setup in this repo
and updating the package.json version to the latest versions:
"plugin-typescript": "^7.1.0", "systemjs": "^0.20.19", "typescript": "^2.6.1"
fails with the error message:
Uncaught (in promise) Error: Cannot read property 'map' of undefined
It appears to error on line 396 of plugin.js:
return options.lib.map(function (libName) { return "typescript/lib/lib." + libName + ".d.ts"; });
because the lib part of options is undefined.
I tried rolling back each and the latest typescript version seems to be the incompatibility.
Setting "typescript": "~2.5.0" (which will get typescript 2.5.3) fixes this.
"typescript": "~2.5.0"
Thanks for raising this, it is fixed in 7.1.1
Using the example setup in this repo
and updating the package.json version to the latest versions:
fails with the error message:
Uncaught (in promise) Error: Cannot read property 'map' of undefined
It appears to error on line 396 of plugin.js:
because the lib part of options is undefined.
I tried rolling back each and the latest typescript version seems to be the incompatibility.
Setting
"typescript": "~2.5.0"
(which will get typescript 2.5.3) fixes this.