Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tailwindcss/lib/lib/defaultExtractor not found #942

Open
moshetanzer opened this issue Jan 19, 2025 · 4 comments
Open

tailwindcss/lib/lib/defaultExtractor not found #942

moshetanzer opened this issue Jan 19, 2025 · 4 comments
Labels
bug Something isn't working

Comments

@moshetanzer
Copy link

Environment

Mac

Reproduction

Install nuxt ui on latest nuxt

Describe the bug

nuxt/ui#3139

Get error listed in issue on new install.

Additional context

No response

Logs

@moshetanzer moshetanzer added the bug Something isn't working label Jan 19, 2025
@ineshbose
Copy link
Collaborator

Could you share your nuxt.config and package.json please?

@ineshbose ineshbose changed the title Nuxt UI Broken tailwindcss/lib/lib/defaultExtractor not found Jan 19, 2025
@linesoft2
Copy link

Same question. My environment is Mac too.
nuxt.config:

// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
  compatibilityDate: '2024-11-01',
  devtools: { enabled: true },
  modules: ['@nuxt/ui']
})

package.json:

{
  "name": "nuxt-app",
  "private": true,
  "type": "module",
  "scripts": {
    "build": "nuxt build",
    "dev": "nuxt dev",
    "generate": "nuxt generate",
    "preview": "nuxt preview",
    "postinstall": "nuxt prepare"
  },
  "dependencies": {
    "@nuxt/ui": "2.21.0",
    "nuxt": "^3.15.2",
    "vue": "latest",
    "vue-router": "latest"
  },
  "packageManager": "[email protected]+sha512.b2dc20e2fc72b3e18848459b37359a32064663e5627a51e4c74b2c29dd8e8e0491483c3abb40789cfd578bf362fb6ba8261b05f0387d76792ed6e23ea3b1b6a0"
}

@moshetanzer
Copy link
Author

Nothing to see installed only nuxt ui and added to modules on new project....

@linesoft2
Copy link

I resolved this issue by switching the package manager from pnpm to npm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants