-
-
Notifications
You must be signed in to change notification settings - Fork 451
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
babel-loader@9.2.0 resulted in a runtime error, this.getLogger is not a function when using with thread-loader #1043
Comments
I noticed that |
Thanks for the report! I'm taking a look. |
@nicolo-ribaudo it's also happening for 8.4.0 |
Also experiencing this issue for ^8.0.4. |
Same issue on 8.4.0 as mentioned. Rollback to 8.3.0 fixed for now. |
Rollback to 8.0.4 worked for me too. |
I published v8.4.1 and v9.2.1 with a workaround for this. |
@nicolo-ribaudo Thank you for your help. I confirmed that, with |
I think this is a thread-loader issue, because it only provides a subset of methods available in webpack 5 loader context: I assumed the motivation here is to minimize the process communication overhead between the main and the worker, but it is better be fixed on the thread-loader side. |
Link to the thread-loader issue: webpack-contrib/thread-loader#185 |
Closing this issue as it has been fixed in |
BEFORE YOU SUBMIT please read the following:
Delete what isn't applicable below
I'm submitting a bug report
Please tell us about your environment:
Webpack Version: 5.94.0
Babel Core Version: 7.25.2
Babel Loader Version: 9.2.0
Current behavior:
The
start
andtest
commands for a fresh Ember app failed with a runtime error:The Ember app indirectly uses
@embroider/babel-loader-9
, which depends onbabel-loader>=9.0.0
.Expected/desired behavior:
The
start
andtest
commands run without an error.start
andtest
commands run without error.pnpm.overrides
in the workspace rootpackage.json
, then runpnpm install
to allowbabel-loader@9.2.0
to be installed. Run thestart
andtest
commands again to see the error.The text was updated successfully, but these errors were encountered: