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
{{ message }}
This repository has been archived by the owner on May 23, 2024. It is now read-only.
This is a pretty stright forward fix. OSX users need '/usr/local/bin/' because '/usr/local/bin/npx' is going to be the path 99.999999999999999999999% of the time.
If for whatever reason you don't like this solution you need to allow the user to update the PATH variable with a config option AND also, take the PATH variable from the caller's environment. But that is more difficult than just looking for npx in the place it is installed on every mac on the planet.
Any of these solutions will fix: [Hardhat Compilation]: /bin/sh: npx: command not found
The text was updated successfully, but these errors were encountered:
If you are going to tell me that it isn't installed in '/usr/local/bin/npx' - your wrong. And looking for a binary in this path hurts nothing, not looking for it impact every mac user. Don't be that dick, just look for the binary where it is installed.
This is a pretty stright forward fix. OSX users need '/usr/local/bin/' because '/usr/local/bin/npx' is going to be the path 99.999999999999999999999% of the time.
If for whatever reason you don't like this solution you need to allow the user to update the PATH variable with a config option AND also, take the PATH variable from the caller's environment. But that is more difficult than just looking for npx in the place it is installed on every mac on the planet.
Any of these solutions will fix:
[Hardhat Compilation]: /bin/sh: npx: command not found
The text was updated successfully, but these errors were encountered: