'NODE_ENV' is not recognized as an internal or external command
This error occurs on Windows when trying to use the Linux/Mac standard way of setting environment variables. I'll show you how to accomplish setting environment variables in the command prompt on Windows, but then I'll show you a better way for node projects that will work for you locally, and on any Linux server you deploy to.
~~~~~~
00:00 - Purpose of the video
00:27 - Using 'set' in Windows
02:05 - cross-env as the best Node solution
02:47 - Wrap-up
~~~~~~
Webpack Starter Github branch for this code:
https://github.com/Jimmydalecleveland...
On this page of the site you can watch the video online Windows development: Fixing the "NODE_ENV is not recognized..." error with a duration of hours minute second in good quality, which was uploaded by the user Swashbuckling with Code 03 April 2021, share the link with friends and acquaintances, this video has already been watched 17,952 times on youtube and it was liked by 443 viewers. Enjoy your viewing!