i create a vite project . Before installing tailwind it is running perfectly, but after i install tailwind using npm install tailwindcss @tailwindcss/vite this command and after all setup i run the server is throw error "\react-app\vite.config.js error when starting dev server: Error: Cannot find module '../lightningcss.win32-x64-msvc.node' Require stack: " Can you help me how to fix it and why i am getting this error. Also i unistalled the node_modules and package.json folder and re install but again same error getting #16816
Unanswered
omnagar860
asked this question in
Help
Replies: 1 comment
-
Try #15792 (comment) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
this is how the error i am getting
failed to load config from C:\Users\praveen\Desktop\New folder\react-app\vite.config.js
error when starting dev server:
Error: Cannot find module '../lightningcss.win32-x64-msvc.node'
Require stack:
at Function._resolveFilename (node:internal/modules/cjs/loader:1225:15)
at Function._load (node:internal/modules/cjs/loader:1055:27)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:220:24)
at Module.require (node:internal/modules/cjs/loader:1311:12)
at require (node:internal/modules/helpers:136:16)
at Object. (C:\Users\praveen\Desktop\New folder\react-app\node_modules\lightningcss\node\index.js:21:22)
at Module._compile (node:internal/modules/cjs/loader:1554:14)
at Object..js (node:internal/modules/cjs/loader:1706:10)
at Module.load (node:internal/modules/cjs/loader:1289:32)
Beta Was this translation helpful? Give feedback.
All reactions