Next.js Discord

Discord Forum

Error: Cannot find module '../lightningcss.win32-x64-msvc.node'

Unanswered
Sinhala Hound posted this in #help-forum
Open in Discord
Sinhala HoundOP
Hola, Quisiera saber como solucionar este error:
No se puede encontrar el módulo '../lightningcss.win32-x64-msvc.node'

Windows 11 Pro 24H2 Build 26100.3624
Versión del nodo: v22.14.0
Nextjs: 15.2.4
VC_redist x64: 14.42.34438.0
VC_redist x86: 14.42.34438.0

2 Replies

Asian black bear
We are an English-speaking community so please keep your posts in English.
You need to install the Microsoft Redistributable package.

https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170.

After you install this, delete your .next and node_modules folders and install your packages again, it should work.