m0bilesecurity / RMS-Runtime-Mobile-Security

Runtime Mobile Security (RMS) 📱🔥 - is a powerful web interface that helps you to manipulate Android and iOS Apps at Runtime
https://twitter.com/mobilesecurity_
GNU General Public License v3.0
2.62k stars 376 forks source link

It is very difficult to install the version with npm #50

Closed NelsonGaleano closed 3 years ago

NelsonGaleano commented 3 years ago

Captura de Pantalla 2020-12-15 a la(s) 17 02 38 is there any way to do the installation without npm? the version with pip3 where can I find it? I would very much like to be able to try this incredible tool what is the recommended version of node js and npm? Please help

Nriver commented 3 years ago

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 3 years ago

The develop method works for me, i'm going to test and use this tool now!!! Saludos desde Paraguay

sidahmed-malaoui commented 3 years ago

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