I have a project in which in which i have a package.json
file which have some build commands.
So in that build
command there is copy files to another location. But that command is linux based and is using cp -R
for recursive copy to another location. Command piece is like this
cp fonts/ public/css/ -R && cp images/ public/css/ -R
so because in windows there is no cp
so i modified this command to this
xcopy fonts/ public/css/ /E && xcopy images/ public/css/ /E
But it’s giving an error of
Invalid number of parameters
How can i resolve this?