I have an error with node-gyp while installing uns cli :
# npm i -g @uns/cli /root/.nvm/versions/node/v12.19.1/bin/uns -> /root/.nvm/versions/node/v12.19.1/lib/node_modules/@uns/cli/bin/run > email@example.com install /root/.nvm/versions/node/v12.19.1/lib/node_modules/@uns/cli/node_modules/bcrypto > node-gyp rebuild sh: 1: node-gyp: Permission denied npm ERR! code ELIFECYCLE npm ERR! syscall spawn npm ERR! file sh npm ERR! errno ENOENT npm ERR! firstname.lastname@example.org install: `node-gyp rebuild` npm ERR! spawn ENOENT npm ERR! npm ERR! Failed at the email@example.com install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2020-11-16T20_03_16_945Z-debug.log
build essential and python3 are both installed :
# apt-get install build-essential Reading package lists... Done Building dependency tree Reading state information... Done build-essential is already the newest version (12.8ubuntu1.1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
# apt-get install python3 Reading package lists... Done Building dependency tree Reading state information... Done python3 is already the newest version (3.8.2-0ubuntu2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
- OS : Ubuntu 20.04.1 LTS (Focal Fossa)
- NodeJs : v12.19.1
- NPM : 6.14.8
Thanks for support