ESLint:Error:Cannot find module prettier

webstrom 2020.2.1

0

Do you have prettier installed in your project ( npm install --save-dev prettier)?

0

 

 

this is my package.json

0

From the stack it's clear that you have eslint-plugin-prettier installed that, in turn, requires prettier. Does ESLint work in CLI?

0

请先登录再写评论。