Prettier formatter issues #5534
-
For obvious reasons,I had to setup my vs code editor from scratch. PretteirandHardhat, set the settings according to the tutorial everything looked fine.But when I imported the code from The Auditing part of the course,The prettier started acting weird. Here are some Screenshots: |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 5 replies
-
@Shawon-Mandal because there is no node_module folder you need to run following command if you are using Yarn then run if you are using npm then run if you want to go along with this course go with Yarn , then all dependencies inside |
Beta Was this translation helpful? Give feedback.
-
@HarshDev56 so,I ran
|
Beta Was this translation helpful? Give feedback.
-
@Shawon-Mandal You probably just did not install yarn yet.
then Check installation
Have a look at the yarn installation for Windows here: https://yarnpkg.com/lang/en/docs/install/ |
Beta Was this translation helpful? Give feedback.
-
@Shawon-Mandal Is it resolved? Please mark the answer if yes |
Beta Was this translation helpful? Give feedback.
@Shawon-Mandal remove the yarn.lock file and use the
--force
flag with the npm commandWe are forcing because there are some dependencies which conflict with each other.