Skip to content

ERR_INVALID_PACKAGE_TARGET #52

@YinHoChong

Description

@YinHoChong

Hi, I have this error.
I use the package "react-sunbeam": "^1.0.5"

packages.json

Localhost logs:
Error: Invalid "exports" main target "dist/es/index.js" defined in the package config /node_modules/react-sunbeam/package.json; targets must start with "./"

Build logs:
Error [ERR_INVALID_PACKAGE_TARGET]: Invalid "exports" main target "dist/es/index.js" defined in the package config /vercel/path0/node_modules/react-sunbeam/package.json; targets must start with "./"

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