Hardhat-Fund-Me "ReferenceError: RINKEBY_RPC_URL is not defined" #2114
-
Trying to run staging test but somehow node is not reading the .env file. The error I see is: Things I have tried:
My hardhat-config file is:
I have been looking at StackOverFlow and applying the solutions from there, but no luck so far, also please tell why is it not reading the env file? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 21 replies
-
@ashrth I think you have missed this in hardhat file |
Beta Was this translation helpful? Give feedback.
-
Hey @ashrth you haven't included |
Beta Was this translation helpful? Give feedback.
@ashrth I think you have missed this in hardhat file
require("dotenv").config();