Я хочу установить botium-cli в Ubuntu. но при получении доступа отказано ошибка.
Пробовал с приведенной ниже командой
sudo npm install -g botium-cli
typechecker@2.0.8 preinstall / usr / lib / node_modules / botium-cli / node_modules / watchr / node_modules / extract-opts / node_modules / typechecker
узел ./cyclic.js
typechecker@2.0.8 preinstall / usr / lib / node_modules / botium-cli / node_modules / exter / node_modules / typechecker
узел ./cyclic.js
/ usr / bin / botium-cli -> /usr/lib/node_modules/botium-cli/bin/botium-cli.js
dtrace-provider@0.8.7 install / usr / lib / node_modules / botium-cli / node_modules / dtrace-provider
восстановление узла || узел suppress-error.js
gyp WARN EACCES user "root" does not have permission to access the dev dir "/home/mtech/.node-gyp/10.16.0"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/lib/node_modules/botium-cli/node_modules/dtrace-provider/.node-gyp"
gyp WARN install got an error, rolling back install
gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack Error: EACCES: permission denied, mkdir '/usr/lib/node_modules/botium-cli/node_modules/dtrace-provider/.node-gyp'
gyp ERR! System Linux 4.8.0-36-generic
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/lib/node_modules/botium-cli/node_modules/dtrace-provider
gyp ERR! node -v v10.16.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok