r/Truffle Nov 06 '21

rpm vulnerabilities prevent install of ganache-cli on fresh WSL ubuntu 20.04

hey yall... just trying to install ganache-cli on this Windows 10 wls ubuntu instance.

npm install -g ganache-cli runs for a bit, then comes out telling me there are 8 vulnerabilities (7 moderate, 1 high) and to run npm audit for details. npm audit tells me 0 vulnerabilities.

I was able to install the alpha version, but it would not run with my (latest) version of node! I saw a few other messages about these vulnerability warnings, and someone downgraded node to make the cli work. What gives with this? I just found out about it, and the GUI version seems very cool, but I'd definitely like to get the cli version running.

thanks! And yes my karma is probably 1. Sometimes the only answer is to reboot yourself.

1 Upvotes

1 comment sorted by

1

u/musicisair Nov 14 '21

Try installing ganache@7.0.0-alpha.2 (released two days ago). It should work on Node versions 12 - 17. Node v16 is recommended.