It’s really fucking that when you get node-gyp permission error installing npm packages.
There is a trade-off.
You can workaround by adding –unsafe-perm to the npm install command.
npm install -s fucking-package --unsafe-perm
You can install the package peacefully.