Open skairunner opened 6 years ago
Related, compile
fails with the following error:
'NODE_ENV' is not recognized as an internal or external command,
operable program or batch file.
Another Windows batch difference, I imagine.
For the first issue, I've seen people use yarn add --dev rimraf
and yarn add --dev trash
to get around that. If you're feeling up for a PR, that'd be sweet.
For the 2nd issue, I'm not sure how windows sets their environment variables. hmmm... I'll have to look into that one. Unless you know?
SET NODE_ENV=[whatever]
, I believe. I'm not sure how you would change the script to figure out when it's on windows vs a POSIX-y system, tho.
The
rm
command line utility does not exist on Windows, so all scripts that require "clean" fail on Windows.