npm

dependencies

https://docs.npmjs.com/files/package.json#dependencies

unsafe-perm

I was having an issue building pixi.js and found it wasn’t running postinstall and was instead failing with;

npm WARN lifecycle [email protected]~postinstall: cannot run in wd [email protected] npm run bootstrap (wd=/pixi.js)

This was due to running as root (inside a container), and the fix was to;

npm install --unsafe-perm

vscode on osx can't find node