vite+tailwincss is not working for me #19975
Unanswered
dipakdeshmukh9
asked this question in
Help
Replies: 1 comment
-
|
This line in the error stack could be significant:
Searching the internet, this could be due to Window's Smart App Control. You may need to configure it to allow Tailwind code to run. |
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.
-
**What version of Tailwind CSS are you using?**v4.2.4
What build tool (or framework if it abstracts the build tool) are you using? = vite 8.0.10
What version of Node.js are you using?
24.12.0
What browser are you using?
Chrome
What operating system are you using?
Windows
Reproduction URL
i just created using vite and configure tailwind in that
Describe your issue
Describe the problem you're seeing, any important steps to reproduce and what behavior you expect instead.
this is error is occuring just validating taiwind
PS C:\Users\dipak\Desktop\devTinder-web> npm run dev
failed to load config from C:\Users\dipak\Desktop\devTinder-web\vite.config.js
error when starting dev server:
Error: Cannot find native binding. npm has a bug related to optional dependencies (npm/cli#4828). Please try
npm iagain after removing both package-lock.json and node_modules directory.at Object. (C:\Users\dipak\Desktop\devTinder-web\node_modules@tailwindcss\oxide\index.js:559:11)
at Module._compile (node:internal/modules/cjs/loader:1761:14)
at Object..js (node:internal/modules/cjs/loader:1893:10)
at Module.load (node:internal/modules/cjs/loader:1481:32)
... 2 lines matching cause stack trace ...
at wrapModuleLoad (node:internal/modules/cjs/loader:245:24)
at loadCJSModuleWithModuleLoad (node:internal/modules/esm/translators:339:3)
at ModuleWrap. (node:internal/modules/esm/translators:242:7)
at ModuleJob.run (node:internal/modules/esm/module_job:413:25) {
[cause]: Error: An Application Control policy has blocked this file.
\?\C:\Users\dipak\Desktop\devTinder-web\node_modules@tailwindcss\oxide-win32-x64-msvc\tailwindcss-oxide.win32-x64-msvc.node
at Object..node (node:internal/modules/cjs/loader:1920:18)
at Module.load (node:internal/modules/cjs/loader:1481:32)
at Module._load (node:internal/modules/cjs/loader:1300:12)
at TracingChannel.traceSync (node:diagnostics_channel:328:14)
... 2 lines matching cause stack trace ...
at require (node:internal/modules/helpers:152:16)
at requireNative (C:\Users\dipak\Desktop\devTinder-web\node_modules@tailwindcss\oxide\index.js:131:25)
at Object. (C:\Users\dipak\Desktop\devTinder-web\node_modules@tailwindcss\oxide\index.js:526:17)
at Module._compile (node:internal/modules/cjs/loader:1761:14) {
code: 'ERR_DLOPEN_FAILED',
cause: Error: Cannot find module './tailwindcss-oxide.win32-x64-msvc.node'
Require stack:
- C:\Users\dipak\Desktop\devTinder-web\node_modules@tailwindcss\oxide\index.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1421:15)
at defaultResolveImpl (node:internal/modules/cjs/loader:1059:19)
at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1064:22)
at Module._load (node:internal/modules/cjs/loader:1227:37)
at TracingChannel.traceSync (node:diagnostics_channel:328:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:245:24)
at Module.require (node:internal/modules/cjs/loader:1504:12)
at require (node:internal/modules/helpers:152:16)
at requireNative (C:\Users\dipak\Desktop\devTinder-web\node_modules@tailwindcss\oxide\index.js:126:16)
at Object. (C:\Users\dipak\Desktop\devTinder-web\node_modules@tailwindcss\oxide\index.js:526:17) {
code: 'MODULE_NOT_FOUND',
requireStack: [Array]
}
}
}
Beta Was this translation helpful? Give feedback.
All reactions