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

pnpm serve 报错:Failed to resolve entry for package "@srcode/components". #3517

Closed
wangh-c opened this issue Jan 8, 2024 · 3 comments
Closed

Comments

@wangh-c
Copy link

wangh-c commented Jan 8, 2024

image

@xachary
Copy link

xachary commented Jan 8, 2024

新版本没问题了

@wangh-c
Copy link
Author

wangh-c commented Jan 8, 2024

新版本没问题了

我是在 packages/components 下 执行

pnpm i
pnpm install [email protected] --save
pnpm install [email protected] --save
pnpm install --save-dev [email protected]
pnpm run build

后才解决这个问题

@wangh-c wangh-c changed the title pnpm i 后 pnpm serve 报错 pnpm serve 报错:Failed to resolve entry for package "@srcode/components". The package may have incorrect main/module/exports specified in its package.json. [plugin vite:dep-scan] Jan 9, 2024
@wangh-c wangh-c changed the title pnpm serve 报错:Failed to resolve entry for package "@srcode/components". The package may have incorrect main/module/exports specified in its package.json. [plugin vite:dep-scan] pnpm serve 报错:Failed to resolve entry for package "@srcode/components". Jan 9, 2024
@wangh-c wangh-c closed this as completed Jan 9, 2024
@wangh-c wangh-c reopened this Jan 9, 2024
@anncwb
Copy link
Collaborator

anncwb commented Apr 9, 2024

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

@anncwb anncwb added the Stale label Apr 9, 2024
@anncwb anncwb closed this as completed Apr 17, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Aug 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants