ajv icon indicating copy to clipboard operation
ajv copied to clipboard

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

Open shenxxu720 opened this issue 10 months ago • 3 comments

When using the electron-store plug-in (https://github.com/sindresorhus/electron-store), it prompts Cannot find module 'ajv/dist/compile/codegen'. What is the problem?

shenxxu720 avatar Apr 13 '24 09:04 shenxxu720

Even we are facing similar issues.

`Cannot find module 'ajv/dist/compile/codegen' Require stack:

  • C:\Users\sharharb\Harit\UI\eos-pulse-ui\node_modules\ajv-keywords\dist\definitions\typeof.js`

harit-basant-sharma-db avatar Apr 17 '24 06:04 harit-basant-sharma-db

if you are using ajv via electron-store, rather than directly, please report the issue to them - otherwise please post a minimal code sample to reproduce.

epoberezkin avatar May 01 '24 08:05 epoberezkin

Hi all, please post a minimal example we can use. If at all possible using this runkit template is best for us to investigate, but I understand some issues might need a simple repo.

jasoniangreen avatar May 14 '24 22:05 jasoniangreen

Closing for now. Feel free to open if you can repro with AJV on it's own or if the maintainers of electron-store track the problem down to AJV.

jasoniangreen avatar May 18 '24 23:05 jasoniangreen