It is very difficult to install the version with npm
NelsonGaleano opened this issue ยท 3 comments
NelsonGaleano commented
Nriver commented
Python support has been removed, only nodejs work now.
FYI nodejs v14.15.0 works fine for me, while v15.3.0 doesn't work, try to use the LTS version.
NelsonGaleano commented
The develop method works for me, i'm going to test and use this tool now!!!
Saludos desde Paraguay
sidahmed-malaoui commented
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