Cannot find module '../lightningcss.win32-x64-msvc.node' #16653
-
tried setting up tailwindcss v4 with react+vite project and getting this error Node version - 22.13
tried reinstalling and deleting node modules. still getting error. i am following the exact steps from the tailwind docs with vite-plugin since create-react-app is deprecated, I wanted to migrate to using vite. I am new to this. any help is appreciated |
Beta Was this translation helpful? Give feedback.
Replies: 16 comments 44 replies
-
The issue was solved after instaling Microsoft redistributable package. download from here https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170 check this issue for reference |
Beta Was this translation helpful? Give feedback.
-
it work for me thank you |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot bro |
Beta Was this translation helpful? Give feedback.
-
Thanks alot. |
Beta Was this translation helpful? Give feedback.
-
Great, I lost two hours for this. Thanks a lot—really nice work. |
Beta Was this translation helpful? Give feedback.
-
Thanks @rutikwankhade you helped me to save my time |
Beta Was this translation helpful? Give feedback.
-
not work for me |
Beta Was this translation helpful? Give feedback.
-
Thank you,it work's 👍👍👍 |
Beta Was this translation helpful? Give feedback.
-
Thanks alot. I couldn't believe IT WORKED. for three weeks I try to set up the IDE without lightningcss being install in the node.js. |
Beta Was this translation helpful? Give feedback.
-
thanks |
Beta Was this translation helpful? Give feedback.
-
Thank you very much! it's working |
Beta Was this translation helpful? Give feedback.
-
I tried installing the Microsoft redistributable package, But still getting the same error. Help me please. |
Beta Was this translation helpful? Give feedback.
-
Guys my laptop is rejecting this Visual C++ exe |
Beta Was this translation helpful? Give feedback.
-
I was facing the same issue. Installing I have no idea why, but I just wanted to share this information. |
Beta Was this translation helpful? Give feedback.
-
Thanks bro it worked for me also, I have been stuck in this problem from many hours |
Beta Was this translation helpful? Give feedback.
-
on local, some of these fixes worked, on production [SyntaxError: global.css: Cannot find module '../lightningcss.linux-x64-gnu.node'] Here is my fix = npm list lightningcss This command will list all the packages using lightningcss with its version if you see any version mismatch that's the problem you can solve this by running npm dedupe This solved the issue for me hope works for you as well. |
Beta Was this translation helpful? Give feedback.
The issue was solved after instaling Microsoft redistributable package. download from here https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170
check this issue for reference
expo/expo#31775