Skip to content

Build: Unable to run build via Windows cmd shell. error with cpy #631

@jafin

Description

@jafin

Attempting to run the build on Windows cmd shell results in an error for the copy:types step.

d:\react-tooltip>npx cpy './react-tooltip.d.ts' './dist' --parents --dot
Cannot copy `'./react-tooltip.d.ts'`: the file doesn't exist

d:\react-tooltip>npx cpy ./react-tooltip.d.ts ./dist --parents --dot
d:\react-tooltip>

If the single quotes are removed then the error is avoided. This should be cross platform safe.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions