-
-
Notifications
You must be signed in to change notification settings - Fork 434
Closed
Description
First of all thanks for the great work.
I get the following error when using ts-loader with typescript 2.1.4. It works fine with typescript 2.0.10
TypeError: Cannot read property 'getOptionsDiagnostics' of undefined
at Object.getCompilerOptionsDiagnostics (/home/me/git/project/node_modules/typescript/lib/typescript.js:79004:27)
at provideCompilerOptionDiagnosticErrorsToWebpack (/home/me/git/project/node_modules/ts-loader/dist/after-compile.js:33:92)
at Compiler.<anonymous> (/home/me/git/project/node_modules/ts-loader/dist/after-compile.js:14:9)
at next (/home/me/git/project/node_modules/tapable/lib/Tapable.js:83:14)
at Compiler.<anonymous> (/home/me/git/project/node_modules/webpack/lib/CachePlugin.js:61:4)
at Compiler.applyPluginsAsync (/home/me/git/project/node_modules/tapable/lib/Tapable.js:85:13)
at /home/me/git/project/node_modules/webpack/lib/Compiler.js:476:10
at Compilation.applyPluginsAsync (/home/me/git/project/node_modules/tapable/lib/Tapable.js:73:70)
at /home/me/git/project/node_modules/webpack/lib/Compilation.js:627:18
at Compilation.applyPluginsAsync (/home/me/git/project/node_modules/tapable/lib/Tapable.js:73:70)
at /home/me/git/project/node_modules/webpack/lib/Compilation.js:618:10
at Compilation.applyPluginsAsync (/home/me/git/project/node_modules/tapable/lib/Tapable.js:73:70)
at /home/me/git/project/node_modules/webpack/lib/Compilation.js:613:9
at Compilation.applyPluginsAsync (/home/me/git/project/node_modules/tapable/lib/Tapable.js:73:70)
at /home/me/git/project/node_modules/webpack/lib/Compilation.js:609:8
at Compilation.applyPluginsAsync (/home/me/git/project/node_modules/tapable/lib/Tapable.js:73:70)
at Compilation.seal (/home/me/git/project/node_modules/webpack/lib/Compilation.js:555:7)
at /home/me/git/project/node_modules/webpack/lib/Compiler.js:473:16
at /home/me/git/project/node_modules/tapable/lib/Tapable.js:152:11
at Compilation.<anonymous> (/home/me/git/project/node_modules/webpack/lib/Compilation.js:452:10)
at /home/me/git/project/node_modules/webpack/lib/Compilation.js:423:12
at /home/me/git/project/node_modules/webpack/lib/Compilation.js:335:10
I'm currently trying to reproduce on a small project.
niedzielski
Metadata
Metadata
Assignees
Labels
No labels