Closed hcfw007 closed 2 years ago
What version of node and npm are you using?
This looks like an npm bug. Npm appears to be adding single quote characters into your command. Single quotes change the behavior on Windows. There's nothing shx can do to workaround this since it's just executing the command is it was received (and you'll notice in the npm output that shx receives a command with single quotes).
I have a npm script like this
when calling it on Mac Os
it works properly. the content of the target package.json is
however in Win, maybe something is wrong when converting quotations.
the content of the target package.json is