Running npm run serve-build on my Windows machine produces an error "cp is not recognized as an internal or external command, operable program or batch file."
The fix for this is to change this line in package.json:
"build:nodeserver": "ng build && cp node_server/* dist",
to:
"build:nodeserver": "ng build && copy node_server\\* dist\\*",
Running
npm run serve-buildon my Windows machine produces an error "cp is not recognized as an internal or external command, operable program or batch file."The fix for this is to change this line in package.json:
"build:nodeserver": "ng build && cp node_server/* dist",to:
"build:nodeserver": "ng build && copy node_server\\* dist\\*",