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

Solve "Internal server error: No "exports" main defined" #45

Closed
linzeguang opened this issue Jul 20, 2022 · 1 comment
Closed

Solve "Internal server error: No "exports" main defined" #45

linzeguang opened this issue Jul 20, 2022 · 1 comment

Comments

@linzeguang
Copy link

linzeguang commented Jul 20, 2022

应该是@svgr/core版本更新到6.3.0引发的问题
我目前的解决方式是在package.json中添加:
"resolutions": { "@svgr/core": "6.2.1" }

English is not very good, so I can only answer in Chinese

@linzeguang linzeguang changed the title [vite-plugin-svgr] No "exports" main defined in /Users/linzeguang/Desktop/yyz/gamebox-bridge/node_modules/@svgr/core/package.json imported from /Users/linzeguang/Desktop/yyz/gamebox-bridge/node_modules/vite-plugin-svgr/dist/index.mjs same https://github.com/pd4d10/vite-plugin-svgr/issues/46 Jul 20, 2022
@linzeguang linzeguang changed the title same https://github.com/pd4d10/vite-plugin-svgr/issues/46 Internal server error: No "exports" main defined Jul 20, 2022
@linzeguang linzeguang changed the title Internal server error: No "exports" main defined Solve "Internal server error: No "exports" main defined" Jul 20, 2022
@pd4d10
Copy link
Owner

pd4d10 commented Jul 22, 2022

Duplicate of #46

@pd4d10 pd4d10 marked this as a duplicate of #46 Jul 22, 2022
@pd4d10 pd4d10 closed this as completed Jul 22, 2022
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

2 participants