admin管理员组文章数量:1401438
When I want to start my dev server the terminal gives me this error instead:
failed to load config from E:\Code\tailtests\vite.config.ts
error when starting dev server:
Error: Cannot find module '../lightningcss.win32-x64-msvc.node'
- E:\Code\tailtests\node_modules\lightningcss\node\index.js
at Function._resolveFilename (node:internal/modules/cjs/loader:1405:15)
at defaultResolveImpl (node:internal/modules/cjs/loader:1061:19)
at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1066:22)
at Function._load (node:internal/modules/cjs/loader:1215:37)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)
at Module.require (node:internal/modules/cjs/loader:1491:12)
at require (node:internal/modules/helpers:135:16)
at Object.<anonymous> (E:\Code\tailtests\node_modules\lightningcss\node\index.js:22:22)
at Module._compile (node:internal/modules/cjs/loader:1734:14)
Are there any solutions to fix this error? I tried to reinstall lightningcss and I tried some other things but none of them worked.
I installed tailwindcss properly like on the website. I also installed it the same way on my laptop and it works on it but on my pc it wont work for some reason.
When I want to start my dev server the terminal gives me this error instead:
failed to load config from E:\Code\tailtests\vite.config.ts
error when starting dev server:
Error: Cannot find module '../lightningcss.win32-x64-msvc.node'
- E:\Code\tailtests\node_modules\lightningcss\node\index.js
at Function._resolveFilename (node:internal/modules/cjs/loader:1405:15)
at defaultResolveImpl (node:internal/modules/cjs/loader:1061:19)
at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1066:22)
at Function._load (node:internal/modules/cjs/loader:1215:37)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)
at Module.require (node:internal/modules/cjs/loader:1491:12)
at require (node:internal/modules/helpers:135:16)
at Object.<anonymous> (E:\Code\tailtests\node_modules\lightningcss\node\index.js:22:22)
at Module._compile (node:internal/modules/cjs/loader:1734:14)
Are there any solutions to fix this error? I tried to reinstall lightningcss and I tried some other things but none of them worked.
I installed tailwindcss properly like on the website. I also installed it the same way on my laptop and it works on it but on my pc it wont work for some reason.
Share Improve this question edited Mar 23 at 20:11 rozsazoltan 11k6 gold badges20 silver badges57 bronze badges asked Mar 23 at 19:47 Victor KeuchlerVictor Keuchler 11 Answer
Reset to default 0The issue was solved after instaling Microsoft redistributable package.
- Microsoft Visual C++ Redistributable latest supported downloads
Reference:
- expo/expo#31775
- tailwindlabs/tailwindcss#16653
本文标签:
版权声明:本文标题:javascript - I installed tailwindcss and tried to start dev server but it gives me an error instead on react - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744271252a2598193.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论