Help

Dotenv file not loading variables into process.env.MY_ID_HERE (React Project)

Topic Labels: Custom Extensions
1107 0
cancel
Showing results for 
Search instead for 
Did you mean: 
Bret_Emmerich
4 - Data Explorer
4 - Data Explorer

I have my .env file with my variables, its in my src folder, I have my YOUR_ID_HERE, YOUR_BASE_ID and that in it.
BUT, when I use “process.env.MY_VAR_HERE”, it gives me a a error:

“Airtable requires a api key” … I already generated one,
I know its the dotenv file, because when I switch the vars in the field for the raw api code… it works. so its the dotenv file that’s not loading.

0 Replies 0