-
-
Notifications
You must be signed in to change notification settings - Fork 620
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
[Bug]: cannot access a scoped thread local variable without calling set
first for 1.2.2
#9109
Comments
I also meet the same situation after rspack 1.2.0 I use multiple rspack.HtmlRspackPlugin in my rspack.prod.config.js
|
@Taylor-Wu-96 Exactly the same, only one of the multiple HtmlRspackPlugins has a problem |
Same issue here. I did not run into this problem in a Windows or MacOS environment. For me, it only happened on Linux. I'm using |
@LingyuCoder when about this issue can be solved? |
@Taylor-Wu-96 this issue will be close, they need reproduction. |
Sorry for the delay. In the repro of #9175, it seems that the error was caused by swc minifier. Currently, the swc has been upgraded to v13 on the main branch of Rspack. I tried this repro again and there was no error anymore. So I released a canary version: |
System Info
System: Mac
Browser: Chrome lastest
Details
when i use rspack version is 1.2.2. something error like this:
cannot access a scoped thread local variable without calling
set
firstReproduce link
refer: #7725
Reproduce Steps
npm run build
The text was updated successfully, but these errors were encountered: