Open tlartaud opened 8 years ago
I Just think that your scripts are not written to be executed from a Windows environment. Quotes and doubles quotes on windows lead to different behaviors than on Unix systems. You have to quote any argument on windows.
So this :
sed -i '' 's,"advanced-custom-fields/advanced-custom-fields-pro":,"wpackagist-plugin/advanced-custom-fields":,g' composer.json
Should become this :
sed -i 's,"advanced-custom-fields/advanced-custom-fields-pro":,"wpackagist-plugin/advanced-custom-fields":,g' 'composer.json'
also notice the first empty quote argument.. what is it ?
Anyway, it should probably work on unix systems, not on windows.
Best regards, good luck with your stack, I'm sad I couldn't test it, it looks awesome.
Hey, thanks for your feedback. And yes, I am sorry, I do not at this time have the opportunity to test it out on Windows. Many things unfortunately are thus solved using Unix command line tools.
However I am currently working on moving the whole stack, or as much as possible, over to a docker environment which will hopefully solve many of the compatibility issues between OS's.
Hi,
Running on host machine :
On guest (VM) :
Trying to run npm install on the host machine with a deleted node_modules folder
Trying to running it on the guest machine
All my files are checkout via git with LF line-endings : I edited the gitattribute files to have this
Any idea ?