Incorrect exports specified in `package.json`
rektdeckard opened this issue · comments
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"
@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