You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error installing npm install -g ganache
When I install it sudo npm install -g ganache I get the following message:
roberto@DESKTOP-RQNJBQS:/demos/web3_py_simple_storage$ sudo npm install -g ganache
I changed 338 packages and audited 366 packages in 21 seconds
6 packages are seeking funding
run npm fund for more details
Install ganache anyway:
It seems ganache installed correctly despite the vulnerabilities. You can check whether it's working by running:
ganache --version
If that works, the installation was successful, and the vulnerabilities are simply related to other packages in the global node_modules.
Fixing vulnerabilities:
If you'd like to address the vulnerabilities, you can follow the recommendation in the message by running:
npm audit fix
This will attempt to fix non-breaking vulnerabilities automatically.
If the audit fix doesn't resolve everything or you want to fix even breaking changes, use:
npm audit fix --force
Note: Running this with --force might update packages in a way that could break compatibility with others. Use this only if you're not worried about compatibility issues.
Check for vulnerabilities:
You can manually inspect the vulnerabilities by running:
npm audit
This will give you more details on what the vulnerabilities are and help you decide whether they require immediate attention.
If ganache is working fine after installation and you're not concerned about the vulnerabilities in the global packages (as long as it doesn't affect ganache), you can continue developing.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Error installing npm install -g ganache
When I install it sudo npm install -g ganache I get the following message:
roberto@DESKTOP-RQNJBQS:/demos/web3_py_simple_storage$ sudo npm install -g ganache
I changed 338 packages and audited 366 packages in 21 seconds
6 packages are seeking funding
run
npm fund
for more details15 vulnerabilities (1 low, 2 moderate, 11 high, 1 critical)
To fix issues that don't require attention, run:
npm audit fix
To fix all issues (including breaking changes), run:
npm audit fix --force
Run
npm audit
for more details.Beta Was this translation helpful? Give feedback.
All reactions