Open softmarshmallow opened 3 years ago
I am having the same issue, any update on this?
I am having the same issue, any update on this?
did you?
I'm having the same issue
I'm having this issue as well
Also having this issue.
Okay guys, I have the answer.
env-cmd -f .env.staging react-scripts build
env-cmd -f <my env file path> <commands for env>
We are assuming that env-cmd -f .env.staging
works alone. However, you have to specify a command after it to which the environment applies.
Okay guys, I have the answer.
env-cmd -f .env.staging react-scripts build
env-cmd -f <my env file path> <commands for env>
We are assuming thatenv-cmd -f .env.staging
works alone. However, you have to specify a command after it to which the environment applies.
Thanks, i almost lost my mind because I used it with &&
like env-cmd -f .env.staging && react-scripts start
The script from package.json
the
.env.local
from same directory