Issue in npm run build | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
3 Answers
+ 1
error:- prettier/react has been merged into prettier open the link given after this line and read out documentation on git
27th Oct 2022, 5:53 AM
Davinder Kumar
Davinder Kumar - avatar
0
Davinder Kumar I read the documentation and changed the code in .eslintrc from "extends": ["eslint:recommended", "airbnb", "prettier", "prettier/react"], to "extends": ["eslint:recommended", "airbnb", "prettier: recommended"], But now there's still an issue as follows: Creating an optimized production build... Failed to compile. [eslint] Failed to load config "prettier:recommended" to extend from. Referenced from: C:\Users\Asha Saini\Desktop\React Projects\box-office\.eslintrc Can you pls point out what am I doing wrong? Thank you.
27th Oct 2022, 6:21 AM
Asha
Asha - avatar
0
i would recommend you to copy the error and paste it into google. stackoverflow might help you.
27th Oct 2022, 6:26 AM
Davinder Kumar
Davinder Kumar - avatar