Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

text-buffer does not install on Windows #219

Closed
winstliu opened this issue Mar 3, 2017 · 3 comments
Closed

text-buffer does not install on Windows #219

winstliu opened this issue Mar 3, 2017 · 3 comments
Labels

Comments

@winstliu
Copy link
Contributor

winstliu commented Mar 3, 2017

This command expects the existence of cp. cp does not exist using Window's cmd.exe.

> coffee --no-header --output lib --compile src && cp src/*.js lib/

'cp' is not recognized as an internal or external command,
operable program or batch file.

(Edit: the slashes also need to be backslashes)

@pablorsk
Copy link

On windows, you need use copy. cp is for unix os.

Check powershell for windows (by Microsoft) and you don't problem like this anymore.

@winstliu
Copy link
Contributor Author

Yes, I know that. The problem is that the command I referenced in the package.json assumes Unix.

@pablorsk
Copy link

oh! sorry. I don't meet verywell grunt but with gulp I use a library. Maybe this library can be added to package.json and we can discard the use of cp:
https://www.npmjs.com/package/grunt-cp

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants