Turbopack Error Module not found: Can't resolve '../lightningcss.' <dynamic> '.node'
#78584
-
SummaryBeen getting this for months now, I am on Next 15.3.1 as of today, and still same issue. I don't know anything about
Additional informationOperating System:
Platform: darwin
Arch: arm64
Version: Darwin Kernel Version 24.3.0: Thu Jan 2 20:24:24 PST 2025; root:xnu-11215.81.4~3/RELEASE_ARM64_T6030
Available memory (MB): 36864
Available CPU cores: 12
Binaries:
Node: 20.10.0
npm: 10.4.0
Yarn: 1.22.19
pnpm: 10.8.1
Relevant Packages:
next: 15.3.1 // Latest available version is detected (15.3.1).
eslint-config-next: N/A
react: 19.1.0
react-dom: 19.1.0
typescript: 5.8.3
Next.js Config:
output: N/A ExampleNo response |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
I was on this issue for about a day. It only started when i upgraded to tailwindcss v4(.1). The issues was my postcss.config.mjs file. I had this:
which was incorrect, instead of this:
as found in the docs. That fixed this bug for me. |
Beta Was this translation helpful? Give feedback.
-
Thank you |
Beta Was this translation helpful? Give feedback.
-
Thank you - this saved me today |
Beta Was this translation helpful? Give feedback.
I was on this issue for about a day. It only started when i upgraded to tailwindcss v4(.1). The issues was my postcss.config.mjs file. I had this:
which was incorrect, instead of this:
as found in the docs. That fixed this bug for me.
After this i just followed the tailwind v3 to v4 upgrade guide and everything worked as expected. Hope this helps you