yarn install throws:
EACCES: permission denied, unlink '/home/minnak/Darbas/market/node_modules/.yarn-integrity'
Might be related to this issue
I tried checking for permissions:
ls -la /home/minnak/Darbas/market/node_modules/.yarn*
Output: -rw-r--r-- 1 root root 490276 kov. 13 15:10 /home/minnak/Darbas/market/node_modules/.yarn-integrity
and then:
sudo chown -R minnak /home/minnak/.config/yarn/
Then launch yarn install again and get the same error.
Try running sudo rm -rf /home/minnak/Darbas/market/node_modules/
and then yarn
without elevated permissions.
It's likely a unix permission related problem. There is a solution posted on the dev's github page. Try to run the following command
sudo chown -R $USER:$GROUP ~/.npm
sudo chown -R $USER:$GROUP ~/.config
Reference: EACCES: permission denied .config/configstore/bower-github.json #2262
If 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