Skip to content

Error [ERR_PACKAGE_PATH_NOT_EXPORTED] #133

@XiaoYang943

Description

@XiaoYang943

Describe the bug

failed to load config from ...\vite.config.ts
error when starting dev server:

Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined in ...\node_modules@yankeeinlondon\happy-wrapper\package.json

help!thanks!

Reproduction

npm

System Info

system

Used Package Manager

npm

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.

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