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

FATAL No "exports" main defined in unicorn-magic\package.json #954

Open
OsamaAlmamri opened this issue Feb 10, 2025 · 1 comment
Open

FATAL No "exports" main defined in unicorn-magic\package.json #954

OsamaAlmamri opened this issue Feb 10, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@OsamaAlmamri
Copy link

Environment

in dev and prod

Reproduction

No response

Describe the bug

the problem just from yesterday , , It was work in last year , but now i get this error

╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ │
│ ✖ Nuxt Fatal Error │
│ │
│ Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined in node_modules\unicorn-magic\package.json │
│ │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

i search where this package used , it's in this package used
"dependencies": {
"@nuxt/kit": "^3.13.2",

and @nuxt/kit use
"globby": "^14.0.2",

and globby use "unicorn-magic": "^0.1.0"

after i remove @nuxtjs/tailwindcss from modules
modules: [

"@nuxtjs/tailwindcss",

npm run dev work again

Additional context

No response

Logs

@OsamaAlmamri OsamaAlmamri added the bug Something isn't working label Feb 10, 2025
@panoscyber
Copy link

same thing. Locking module to specific version worked for me: "@nuxtjs/tailwindcss": "6.11.4"

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

2 participants