You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Taken straight from @n2liquid's comment in the linked PR:
letvalidOptions=['dev','stage','prod'];if(!validOptions.includes(NODE_ENV)){console.log(`The selected Node Environment (${NODE_ENV}) is not a preconfigured option (${validOptions.join(', ')})`);}
The text was updated successfully, but these errors were encountered:
That doesn't change the fact that the message is incorrect and using NODE_ENV is still a supported way of specifying the environment, so it should work properly.
I'm submitting a bug report
0.34.0
Please tell us about your environment:
Operating System:
Ubuntu 16.04.5
Node Version:
8.9.3
6.1.0
Browser:
all
Language:
all
Loader/bundler:
all
Current behavior:
When running
NODE_ENV=prod au run
I'm greeted with this contradictory message:Which is obviously wrong since it is one of the preconfigured options.
The message isn't displayed.
Not getting confused about whether the environment name is actually correct or not.
Related PR:
#491
Proposed solution
Taken straight from @n2liquid's comment in the linked PR:
The text was updated successfully, but these errors were encountered: