Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows-specific error #1

Open
b4youleap opened this issue Jan 24, 2017 · 1 comment
Open

Windows-specific error #1

b4youleap opened this issue Jan 24, 2017 · 1 comment

Comments

@b4youleap
Copy link

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\\*",

@Matt-Dionis
Copy link
Owner

Matt-Dionis commented Jan 27, 2017

@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.

@Matt-Dionis Matt-Dionis added bug and removed bug labels Jan 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants