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
When Ganache installation fails in your virtual environment...
status as of 14. Mar 2022:
When installing nodeenv with pip it will install the latest nodejs version (today 17.7.1).
This will cause issues when you try installing Ganache or maybe other node-based applications.
Here is how to solve this and similar issues:
Find out which nodejs version works with your application.
nodeenv list will list all available nodejs versions.
after you have activated nodeenv with your (currently active) virtual Python environment like so --- nodeenv -p
you can switch to another node version with the following line nodeenv --node=16.14.0 -p
Which stands for Usage: nodeenv [OPTIONS] ENV_DIR, where -p is the python virtual environment in which nodeenv is active.
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
Uh oh!
There was an error while loading. Please reload this page.
-
When Ganache installation fails in your virtual environment...
status as of 14. Mar 2022:
When installing nodeenv with pip it will install the latest nodejs version (today 17.7.1).
This will cause issues when you try installing Ganache or maybe other node-based applications.
Here is how to solve this and similar issues:
nodeenv list
will list all available nodejs versions.nodeenv -p
nodeenv --node=16.14.0 -p
Which stands for
Usage: nodeenv [OPTIONS] ENV_DIR
, where-p
is the python virtual environment in which nodeenv is active.Beta Was this translation helpful? Give feedback.
All reactions