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

prettier CLI not working in 7.19.0. #31

Open
chiilog opened this issue Jul 6, 2021 · 0 comments
Open

prettier CLI not working in 7.19.0. #31

chiilog opened this issue Jul 6, 2021 · 0 comments

Comments

@chiilog
Copy link

chiilog commented Jul 6, 2021

prettier CLI not working in 7.19.0.

When I run prettier --write '**/*.{js,jsx,ts,tsx}' --ignore-path .eslintignore and get the following error

sh: prettier: command not found

I debugged:

  1. clean install and run CLI in npm 6.14.12 -> working
  2. clean install and run CLI in npm 7.19.0 -> not working
  3. run CLI in npm 7.19.0 after npm i -D [email protected] -> working
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

1 participant