Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect exports specified in package.json #96

Open
rektdeckard opened this issue Apr 24, 2024 Discussed in #95 · 1 comment
Open

Incorrect exports specified in package.json #96

rektdeckard opened this issue Apr 24, 2024 Discussed in #95 · 1 comment

Comments

@rektdeckard
Copy link
Member

Discussed in #95

Originally posted by diegolauar April 23, 2024
If you get this error: Failed to resolve entry for package "@phosphor-icons/react". The package may have incorrect main/module/exports specified in its package.json.

Try install: npm install phosphor-react

Use: import { . . . } from "phosphor-react"

@rektdeckard
Copy link
Member Author

rektdeckard commented Apr 24, 2024

@diegolauar can you provide some details:

  • @phosphor-icons/react version
  • Project type (pure React, Next, Astro, etc.) and version
  • Build tooling (vite, turbo, etc.) and version
  • Node version
  • Any supporting context that can help reproduce and diagnose the error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant