TimeZone issue
'TZ' is not recognized as an internal or external command
I am on windows is there a way I can fix this?
1 Reply
Use cross-env for env-vars that work on all platforms - https://www.npmjs.com/package/cross-env
Also I suggest you look into a development environment that uses WSL2 (I run Ubuntu) and migrate away from doing any development in windows directly, and instead do it all through there, it will save you a lot of pain.
npm
cross-env
Run scripts that set and use environment variables across platforms. Latest version: 7.0.3, last published: 2 years ago. Start using cross-env in your project by running
npm i cross-env
. There are 5545 other projects in the npm registry using cross-env.