-
-
Notifications
You must be signed in to change notification settings - Fork 433
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Builds fail when using thread-loader #1206
Comments
When using A couple ideas for workarounds:
I'll see which one seems nicer and make a PR for it. |
Thanks @valerio! |
I've updated the version of webpack in the first post to With the fix I had in mind compilation will work fine up to that version, but using webpack >= 4.13.0 will fail with a different error:
This happens also with lower versions of |
i freezed my version of ts-loader on "8.0.7" instead "^8.0.7" and all work. |
v8.0.9 is should be out in the next 20 minutes and will hopefully resolve the issues https://github.com/TypeStrong/ts-loader/releases/tag/v8.0.9 |
@johnnyreilly 8.0.9 work without errors. Thanks a lot! |
Thanks @valerio for fixing and @Krasnopir for testing! ❤️🌻 |
I'm running into this exact same |
versions -> "thread-loader": "^4.0.4", how solve this error. ERROR in ./src/views/CRUD/utils.tsx
|
Expected Behaviour
Using
thread-loader
beforets-loader
, compilation of a project should succeed.Actual Behaviour
Compilation fails with the following error:
Steps to Reproduce the Problem
Use a minimal webpack configuration as follows:
Running builds with
webpack
should fail.Reproducible with the following dependencies:
Location of a Minimal Repository that Demonstrates the Issue.
https://github.com/valerio/tsloader-build-issue-with-thread-loader
The text was updated successfully, but these errors were encountered: