I don't know if it is me, but using this boilerplate, I am having a hard time using .env files with enviromental variables so I went back to create-react-app.
I obeyed every rule, prefixed with REACT_APP_ and also the .env is in the root folder but the value is undefined hence making the request return an error.
I have not yet deployed, but I will try and see if I will face the same errors with it in production but for now, environmental variables does not work in development.
I don't know if it is me, but using this boilerplate, I am having a hard time using
.envfiles with enviromental variables so I went back to create-react-app.I obeyed every rule, prefixed with
REACT_APP_and also the.envis in the root folder but the value is undefined hence making the request return an error.I have not yet deployed, but I will try and see if I will face the same errors with it in production but for now, environmental variables does not work in development.