-
Notifications
You must be signed in to change notification settings - Fork 16
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
Cannot find module '../lightningcss.linux-x64-gnu.node' #44
Comments
I can't reproduce this issue on my Mac Book, could you please provide more details about your case? |
It looks like pinning your dep won't matter because |
I've upgraded lightningcss to v1.17 which should have fixed your issue, please have a try with v2.6.3 |
Fix confirmed 🙌 Than you! |
It's back (I'm on |
please try `v3-dev`
…________________________________
发件人: Jacob ***@***.***>
发送时间: Friday, August 11, 2023 5:47:54 PM
收件人: indooorsman/esbuild-css-modules-plugin ***@***.***>
抄送: indooorsman ***@***.***>; Comment ***@***.***>
主题: Re: [indooorsman/esbuild-css-modules-plugin] Cannot find module '../lightningcss.linux-x64-gnu.node' (Issue #44)
It's back (I'm on v2.7.1<https://github.com/indooorsman/esbuild-css-modules-plugin/releases/tag/v2.7.1>).
―
Reply to this email directly, view it on GitHub<#44 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABFRA3PPXQIPOSLXCIR2J2TXUX5UVANCNFSM6AAAAAASEUMLPI>.
You are receiving this because you commented.Message ID: ***@***.***>
|
That seems to be totally b0rked. Not getting any errors. I see the css file is generated (and looks fine), but there are no classes in the final markup, so I'm thinking the imports are broken. |
Heads up to others: Adding the following to your package.json works around the issue (which I reported upstream parcel-bundler/lightningcss#567)
|
@jacob-orbiit I see, it seems to be a bug of npm npm/cli#4828 , please try: rm -rf node_modules package-lock.json
npm install |
An update to one of this packages' dependencies appears to have broken this package: parcel-bundler/lightningcss#335
I see in your package.json, you're locked to
lightningcss@^1.16.0
: https://github.com/indooorsman/esbuild-css-modules-plugin/blob/main/package.json#L31lightningcss recently released a patch (
1.16.1)
, which seems likely to blame: https://github.com/parcel-bundler/lightningcss/releases/tag/v1.16.1Pinning to
1.16.0
explicitly may resolve the issue.The text was updated successfully, but these errors were encountered: