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

Internal server error: Cannot find module 'svg-parser' #33

Closed
bellizio opened this issue May 4, 2022 · 1 comment
Closed

Internal server error: Cannot find module 'svg-parser' #33

bellizio opened this issue May 4, 2022 · 1 comment

Comments

@bellizio
Copy link

bellizio commented May 4, 2022

I'm trying to get to the bottom of the following error in the below screenshot:
Screen Shot 2022-05-04 at 11 57 58 AM

Other relevant config:
Screen Shot 2022-05-04 at 12 01 52 PM
Screen Shot 2022-05-04 at 12 02 19 PM

I'm on the latest version of the plugin (2.1.0). Any ideas?

@bellizio
Copy link
Author

bellizio commented May 4, 2022

Nevermind, I found the issue. For some reason, svg-parser was not getting installed as a dependency (seems that package.json and package-lock.json got out of sync somehow). Uninstalling and re-installing vite-plugin-svgr fixed the problem, so I will close this.

@bellizio bellizio closed this as completed May 4, 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

1 participant