Can I set unsafe-perm to true when installing npm packages?
npm-pkgs:
npm.installed:
- names:
- composer-cli
- generator-hyperledger-composer
The reason for that is that I ran into a permission issue when trying to install some of the packages:
gyp WARN EACCES user "root" does not have permission to access the dev dir "/usr/lib/node_modules/composer-cli/node_modules/pkcs11js/.node-gyp/8.9.3"