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

text-buffer does not install on Windows #219

Closed

Description

@winstliu

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)

Activity

  1. pablorsk commented on Jul 26, 2017

    @pablorsk

    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.

  2. winstliu commented on Jul 26, 2017

    @winstliu
    ContributorAuthor

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

  3. pablorsk commented on Jul 26, 2017

    @pablorsk

    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 join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions