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

Cannot find module 'ajv/dist/compile/codegen' #275

Open
shenxxu720 opened this issue Apr 16, 2024 · 2 comments
Open

Cannot find module 'ajv/dist/compile/codegen' #275

shenxxu720 opened this issue Apr 16, 2024 · 2 comments

Comments

@shenxxu720
Copy link

shenxxu720 commented Apr 16, 2024

When I use the plugin in the test environment there is no problem, but the packaging formal environment prompt Cannot find module 'ajv/dist/compile/codegen', Using the electron-vite (https://electron-vite.org) build tool, what is the problem?

@npmstudy
Copy link

try this?

image

@shenxxu720
Copy link
Author

try this?

image

You do need to install ajv into dependencies separately to solve this problem
image

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