Skip to content

Package subpath './package.json' is not defined by "exports" in package.json #77

@tla-king

Description

@tla-king

Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './package.json' is not defined by "exports" in /node_modules/.pnpm/node_modules/mui-one-time-password-input/package.json

node version : v18.18.0
pnpm version: 9.14.2

please help update package.json add subpath in exports like:
{ "exports": { ".": "./dist/index.js", "./package.json": "./package.json" // access by package.json } }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions