Skip to content

error "No React dependency found in package.json" #105

@riva-infinex

Description

@riva-infinex

(I reviewed the other similar issues and this one seems different)

Hi, your project looks promising, I tried it in a module from a pnpm monorepo, got:

Something went wrong. Please check the error below for more details.
If the problem persists, please open an issue on GitHub.

No React dependency found in package.json

Since this is a ui package, it properly declares its React dependency as a peer dep

  "devDependencies": {
    ...
    "react": "catalog:react_v19_current",
    "react-dom": "catalog:react_v19_current",
    "...
  },
  "peerDependencies": {
    "react": "catalog:react_v19_current",
    "react-dom": "catalog:react_v19_current"
  }

I'm not sure what is causing the resolution error: peerDep or pnpm catalog?

Note that React is present in node_modules/:

Image

Thanks! I'll retry in a while.

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