You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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\\*",
The text was updated successfully, but these errors were encountered:
@b4youleap Thank you for pointing this out! If you want Linux functionality on a Windows machine, cygwin is a solid option: http://cygwin.com/. Installing this would allow you to use commands such as cp.
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\\*",
The text was updated successfully, but these errors were encountered: