I am not a frontend developer but sometimes I have to run some tasks like yarn install && yarn build-dev
. Currently I am running just yarn install
as shown below but I can not get it to work properly and have no clues on what is wrong or how to fix it:
▶ yarn install
yarn install v1.22.4
[1/4] 🔍 Resolving packages...
[2/4] 🚚 Fetching packages...
error An unexpected error occurred: "ENOTEMPTY: directory not empty, rmdir '/Users/reynierpm/Library/Caches/Yarn/v6/npm-react-popper-tooltip-2.10.1-e10875f31916297c694d64a677d6f8fa0a48b4d1-integrity/node_modules/react-popper-tooltip'".
info If you think this is a bug, please open a bug report with the information provided in "/Users/reynierpm/dev/docker/web/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
warning [email protected]: Invalid bin field for "mini-css-extract-plugin".
What I have tried so far?
rm -rf
yarn cache clean
None of them worked. What could be wrong here?
I am using MacOS Catalina 10.15.4 and the command was run from iTerm2 using ZSH.
I had the same issue but these options helped me
nodemon
runninglive-server-extension
in your IDE (like visual studio) runningIf you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With