javascript - Cannot find module 'ajvdistcompilecodegen' - Stack Overflow

Cannot find module 'ajvdistpilecodegen'I have tried up creating a react app, where I have

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

I have tried up creating a react app, where I have enter all the basic information like npx create-react-app, then after installing all the packages, I have entered npm start so this error es up?

So I need a solution to go further.

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

I have tried up creating a react app, where I have enter all the basic information like npx create-react-app, then after installing all the packages, I have entered npm start so this error es up?

So I need a solution to go further.

Share edited Feb 14 at 2:33 josef 1,02513 silver badges32 bronze badges asked Jun 22, 2024 at 9:57 Seelam DarshanSeelam Darshan 511 silver badge3 bronze badges 2
  • 1 Please show mands and code that you are using – Justinas Commented Jun 22, 2024 at 10:15
  • Please provide enough code so others can better understand or reproduce the problem. – Community Bot Commented Jun 23, 2024 at 2:34
Add a ment  | 

2 Answers 2

Reset to default 5

This mand solved the issue for me:

npm install --save-dev ajv@^7

I face this issue

npm start
> [email protected] start
> react-scripts start 
Cannot find module 'ajv/dist/pile/codegen'

type and run:

npm install ajv@latest ajv-keywords@latest

and then:

 npm start

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1743690865a4490941.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信