Skip to content

Can't resolve 'tailwindcss' #4617

@mathishuettl

Description

@mathishuettl

Environment

  • Operating System: Windows_NT
  • Node Version: v22.17.1
  • Nuxt Version: 4.0.1
  • CLI Version: 3.27.0
  • Nitro Version: 2.12.4
  • Package Manager: [email protected]
  • Builder: -
  • User Config: compatibilityDate, devtools, modules, css
  • Runtime Modules: @nuxt/[email protected]
  • Build Modules: -

npm list
C:\xxx>npm list
nuxt-app@ C:\xxx
+-- @nuxt/[email protected]
+-- @nuxtjs/[email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
`-- [email protected]

Version

v3.3.0

Reproduction

Description

After following the installation guide https://ui.nuxt.com/getting-started/installation/nuxt

I'm getting this error:
Can't resolve 'tailwindcss' in 'C:\xxx\app\assets\css' at createError (C:/xxx/node_modules/h3/dist/index.mjs:71:15) at C:/xxx/node_modules/@nuxt/vite-builder/dist/index.mjs:403:21) at async processMessage (C:/xxx/node_modules/@nuxt/vite-builder/dist/index.mjs:386:30)

Additional context

No response

Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageAwaiting initial review and prioritization

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions