Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.

No way to set PATH variable for remix? #183

Open
TheRook opened this issue Feb 2, 2023 · 8 comments
Open

No way to set PATH variable for remix? #183

TheRook opened this issue Feb 2, 2023 · 8 comments

Comments

@TheRook
Copy link

TheRook commented Feb 2, 2023

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.

@bunsenstraat
Copy link
Contributor

please clarify.

@TheRook
Copy link
Author

TheRook commented Feb 23, 2023 via email

@bunsenstraat
Copy link
Contributor

Please provide step by step instructions to reproduce the problem you are having. Thanks.

@TheRook
Copy link
Author

TheRook commented Feb 23, 2023 via email

@TheRook
Copy link
Author

TheRook commented Feb 23, 2023

@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

@bunsenstraat
Copy link
Contributor

bunsenstraat commented Feb 24, 2023

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?
Screenshot 2023-02-24 at 08 30 26
Can you also forward me the stack overflow links that pertain to this issue users are having with Remix Desktop?

@TheRook
Copy link
Author

TheRook commented Feb 24, 2023

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? Screenshot 2023-02-24 at 08 30 26 Can you also forward me the stack overflow links that pertain to this issue users are having with Remix Desktop?

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?

@bunsenstraat
Copy link
Contributor

All right. It will be fixed soon.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants