You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compilation with TS enabled fails with this error:
ERROR Failed to compile with 1 errors
error in ./somefile.ts
Module build failed: TypeError: Cannot set property 'tsLoaderFileVersion' of undefined
at successLoader (/var/www/html/node_modules/ts-loader/dist/index.js:49:54)
at Object.loader (/var/www/html/node_modules/ts-loader/dist/index.js:21:12)
Found only one similar issue on github and it says that latest ts-loader doesn't support webpack <4.
So how about an upgrade then?
The text was updated successfully, but these errors were encountered:
There already is a PR related to the Webpack 4 update (#324), but since this version deprecates/introduces a lot of things it takes a bit of time to do it right.
In the meantime you should be able to use an old version of the ts-loader without any issue.
Compilation with TS enabled fails with this error:
Found only one similar issue on github and it says that latest ts-loader doesn't support webpack <4.
So how about an upgrade then?
The text was updated successfully, but these errors were encountered: