https://pantsbuild.org/ logo
#general
Title
# general
a

acoustic-book-58772

10/04/2018, 5:58 PM
Hi guys, I'm having an issue installing the node plugin. I'm getting this error whenever I try to run my node targets:
Copy code
error An unexpected error occurred: "EACCES: permission denied, unlink '/Users/paul.yau/Library/Caches/Yarn/npm-imagemin-webpack-plugin-2.2.0-e9c6b3223c979bd50a81c9f8b3741e6f420a54e8/.yarn-metadata.json'".
If I run it with sudo, I get:
Copy code
error Couldn't find a package.json file in "/Users/paul.yau/Library/Caches/Yarn/npm-Metropolis-0.0.0-813a8382e5821a200486404e535ec7f5cc2a6b03"
Which is probably a dependency issue (that module is a github link to something entirely different from the
npm metropolis
module). But trying to run with sudo in the first place doesn't seem right at all.....