Because there is no cmd in windows.
rm -rfThis order. You need to use an npm module called del. At the same time, there is another problem that cannot be directly used under windows.
NODE_ENV='productionFor this command, you need an npm module called cross-env to solve cross-platform problems.