Skip to content

Error [ERR_PACKAGE_PATH_NOT_EXPORTED] for @feature-sliced/steiger-plugin #225

@AlexIHavr

Description

@AlexIHavr

Hello, I want to intergrate steiger in my project on Vue, but I faced with the problem in steiger.config.ts. I am following the instructions on the official webside npm, but the problem remains.

Image

Resolve error: Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined in /Users/khavronin/Downloads/GoalsTracker/vueGoalsTracker/node_modules/@feature-sliced/steiger-plugin/package.json

Node version - v22.14.0
Packages:
"steiger": "^0.5.11"
"@feature-sliced/steiger-plugin": "^0.5.7",

Probably the problem in the package @feature-sliced/steiger-plugin in node_modules
"exports": { "types": "./dist/app.d.ts", "import": "./dist/app.mjs" },

Instead of
"exports": { ".": { "types": "./dist/app.d.ts", "import": "./dist/app.mjs" } },

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions