error .env not working #5212
Replies: 5 comments 3 replies
-
hello make sure your .env file is located in the root directory of you project , if that is done you can try troubleshooting by adding a |
Beta Was this translation helpful? Give feedback.
-
@jeevansiddu First of all do not use goerli now, see this announcement #5079. And once you start to use sepolia, make sure that your env file name is |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
please can someone answer |
Beta Was this translation helpful? Give feedback.
-
yeah thank you it actually worked ., I had issues on the dev dependancy file in hardhat.config file ., it is now resolved |
Beta Was this translation helpful? Give feedback.
-
I have tried to fetch from .env file but i have no idea why it is not working ., if I directly add the rpc url in the placeholder it is working but when used with .env not working
My js file
package .json file
error :
Beta Was this translation helpful? Give feedback.
All reactions