-
Notifications
You must be signed in to change notification settings - Fork 266
No way to set PATH variable for remix? #183
Comments
please clarify. |
If you have used a unix like system before you should know that the PATH
variable is how binaries are located by executables.
On OSX you arent looking for executables installed by brew, and in OSX brew
is howthe vast majority of people will install the requirements.
…On Thu, Feb 23, 2023, 3:14 AM bunsenstraat ***@***.***> wrote:
please clarify.
—
Reply to this email directly, view it on GitHub
<#183 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAD7MN2VI7MMJ24BFHNM66DWY5A7ZANCNFSM6AAAAAAUPPSSVU>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Please provide step by step instructions to reproduce the problem you are having. Thanks. |
Here are the reproduction steps;
Attempt to Compile and deploy any solidity script with remix desktop on
OSX. It will always fail, on every OSX machine - and I know for a fact to
OSX machines can build and deploy using remix....
Because literally not a single person on stack overflow has fixed your bug.
Not one. Because you hardcoded your environment variables, and you are
asking me why it's not working.
…On Thu, Feb 23, 2023, 10:00 AM bunsenstraat ***@***.***> wrote:
Please provide step by step instructions to reproduce the problem you are
having. Thanks.
—
Reply to this email directly, view it on GitHub
<#183 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAD7MN5UBW2V4GHK4JROA6TWY6QT5ANCNFSM6AAAAAAUPPSSVU>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
@bunsenstraat There is no way your app has ever built and deployed on osx. I'm telling you this has never happened - everyone i have talked to gives up and uses the browser. https://stackoverflow.com/questions/70858571/sh-hardhat-command-not-found-when-installing-hardhat |
I am assuming from your reply @TheRook that you are talking about using a hardhat project on localhost using Remix Desktop with the 'Enable Hardhat Compilation' enabled? Is this the error you are seeing? |
Correct, it also appears to affect Linux and other *nix systems that rely upon a PATH environment variable to resolve the location of hardhat. You can pull the PATH environment variable from the caller, or more commonly IDEs like vscode and eclipse allow you to set this ENV variable so that binaries can be called. This clearly has never worked even once, and has been ignored for years. Can you see why this may be causing some frustration in the community? |
All right. It will be fixed soon. |
Hey, it looks like Remix can't find anything on OSX because you forgot to allow someone to be able to update their PATH so that brew and npm can include their paths.
If you care at all about people using your project you need to allow remix to be able to use binaries on OSX or your project will simply never work - for anyone.
The text was updated successfully, but these errors were encountered: