-
Notifications
You must be signed in to change notification settings - Fork 940
Closed as not planned
Labels
bugSomething isn't workingSomething isn't working
Description
Environment
- Operating System: Darwin
- Node Version: v22.11.0
- Nuxt Version: 3.15.2
- CLI Version: 3.20.0
- Nitro Version: 2.10.4
- Package Manager: [email protected]
- Builder: -
- User Config: compatibilityDate, devtools, modules
- Runtime Modules: @nuxt/[email protected]
- Build Modules: -
Version
2.21.0
Reproduction
- Create a new nuxt project using cli
- install nuxt/ui using cli command
npx nuxi@latest module add ui
Description
WARN Failed to load config ./.nuxt/nuxtui-tailwind.config.mjs due to the error below. Skipping.. nuxt:tailwindcss 8:47:34 PM
Cannot find module 'tailwindcss/lib/lib/defaultExtractor.js'
Require stack:
Pretty sure this has got to do with an update in nitro/nuxt i saw recently @danielroe any ideas?
Additional context
No response
Logs
Require stack:
- .nuxt/nuxtui-tailwind.config.mjs
at Function._resolveFilename (node:internal/modules/cjs/loader:1249:15)
at Function.resolve (node:internal/modules/helpers:151:19)
at jitiResolve (node_modules/.pnpm/[email protected]/node_modules/jiti/dist/jiti.cjs:1:187220)
at jitiRequire (node_modules/.pnpm/[email protected]/node_modules/jiti/dist/jiti.cjs:1:189288)
at import (node_modules/.pnpm/[email protected]/node_modules/jiti/dist/jiti.cjs:1:199778)
at .nuxt/nuxtui-tailwind.config.mjs:2:31
at eval_evalModule (node_modules/.pnpm/[email protected]/node_modules/jiti/dist/jiti.cjs:1:196325)
at node_modules/.pnpm/[email protected]/node_modules/jiti/dist/jiti.cjs:1:194552
at async Function.import (node_modules/.pnpm/[email protected]/node_modules/jiti/dist/jiti.cjs:1:199772)
at async resolveConfig (node_modules/.pnpm/[email protected][email protected]/node_modules/c12/dist/shared/c12.B4fc1S0C.mjs:343:18)
at async loadConfig (node_modules/.pnpm/[email protected][email protected]/node_modules/c12/dist/shared/c12.B4fc1S0C.mjs:147:23)
at async Promise.all (index 3)
at async loadConfigs (node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@nuxtjs/tailwindcss/dist/module.mjs:374:27)
at async node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@nuxtjs/tailwindcss/dist/module.mjs:420:9
at async generateApp (node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected][email protected]__uowpedy6xy2pdmgu2ptesyqdza/node_modules/nuxt/dist/shared/nuxt.BoHAox-C.mjs:6166:5)
at async _applyPromised (node_modules/.pnpm/[email protected]/node_modules/perfect-debounce/dist/index.mjs:54:10)
sabereen, wangzhaohe and Yves852
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working