Open
Description
I want to contribute to this project and attempted to build the project. I am using Windows OS and could not build it because of the UNIX-derived commands used.
For example, the cp command is not recognized as follows (the equivalent command is copy on Windows) :
nx run wp-now:"build:bundle"
> nx run wp-now:"build:bundle"
'cp' is not recognized as an internal or external command,
operable program or batch file.
Warning: run-commands command "cp packages/wp-now/public/* dist/packages/wp-now" exited with non-zero status code
————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————
> NX Ran target build:bundle for project wp-now (653ms)
× 1/1 failed
√ 0/1 succeeded [0 read from cache]
So, after a quick look at the commands property of project.json, it seems that the following commands are not available on Windows:
rmzipcpcat
The three solutions I know of are as follows:
- Install GNU Core Utilities on the developer's own machine to make UNIX commands available
- Use OS-independent npm packages such as
cpx,rimraf, etc. - Use node directly (Information on Stack Overflow)
I know it is very difficult to build an OS-independent development environment for such an advanced project, but I would be happy to help in any way I can.
Activity