-
Hi, I am using WSL, and I am stuck at brownie not being able to detect the INFURA_PROJECT_ID environmental variable I assigned in the The code can run successfully in the Development network. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hello @vicshi06 this happens when the current terminal is not able to recognize the .env file, even if you set it up on So on your WSL terminal copy and paste:
This should solve your problem, cheers. |
Beta Was this translation helpful? Give feedback.
Hello @vicshi06 this happens when the current terminal is not able to recognize the .env file, even if you set it up on
brownie-config
so the easiest way to get this trough is just copy and paste the .env variables to the terminal withexport
keyword.So on your WSL terminal copy and paste:
export INFURA_PROJECT_ID= yourId
This should solve your problem, cheers.