Skip to content

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

@OsamaAlmamri

Description

@OsamaAlmamri

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions