Closed g33kyshivam closed 3 years ago
Development(Local) installation works :-)
hey @g33kyshivam, It's for sure a permissions issue with your npm installation. By searching on google it seems a common issue 😉 (try to install RMS by adding the --unsafe parameter).
Best
If you have installed nodejs
via snap
, you'll get this error because snap packages are not allowed to write to /usr/local
(check this link)
In this case, to install npm
packages correctly (including RMS), you need the following configuration :
mkdir ~/.local/npm
npm config set prefix "$HOME/.local/npm"
export PATH=~/.local/npm/bin:$PATH
printf '\nexport PATH=~/.local/npm/bin:$PATH' >> ~/.bashrc # Or prepend it to ~/.zshrc if you use zsh
npm config set scripts-prepend-node-path true
Now you can install rms
with npm
, and everything will go fine:
npm install -g rms-runtime-mobile-security
rms
sudo chown -R $USER /usr/local/bin sudo chown -R $USER /usr/local/lib/node_modules
Worked for me
Having issues in installation of tool via npm command Can't install the tool via npm after installing all the prerequisites (frida and node/npm). I have tried with sudo command as well but it doesn't install. I have shared the error message below.
To Reproduce Steps to reproduce the behavior:
Desktop (please complete the following information):
Console Logs