prettier-config icon indicating copy to clipboard operation
prettier-config copied to clipboard

Cannot find module

Open moseslucas opened this issue 3 years ago • 1 comments

I get an error Cannot find module

Steps to reproduce:

  1. yarn add @azz-prettier-config -D
  2. Edit package.json adding
"prettier": "@azz/prettier-config"

THen I got the error 👇

Screen Shot 2022-12-03 at 9 21 40 PM

moseslucas avatar Dec 03 '22 13:12 moseslucas

You've to add this as dev dependecy as well. I too get the same error but after adding this to dev dependency, this error will be no more.

VipinGoyal avatar Mar 04 '23 16:03 VipinGoyal