-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tracking: Improve development env on Windows OS #39388
Comments
This is a great initiative. Thank you for opening this issue. |
I landed the first batch of changes. I tested them from the |
Thanks for confirming ! I will continue to work on another task 👍 |
We could also look at standardizing names for scripts executed with |
I landed #39739. There are 3 commands left from the list 🎉 |
I have just landed changes for |
Oh, I must have put in the wrong PR number. So all issues are now resolved. Thank you for your cooperation! |
Overview
I checked all scripts in
package.json
, and found that some scripts are not work correctly on Windows OS.This tracking issue is targeted to fix npm scripts to allow for smooth development on Windows OS.
I would like to find out the detailed cause and send PR in several chunks.
I would appreciate your help in testing, both on Windows / Mac.
Scripts that do not work on Windows OS
As far as I have tested, the following scripts did not work.
I also excluded scripts that may work correctly as a result of fix the following scripts.
( e.g.
dev
, which depends ondev:packages
)build:plugin-zip
'.' is not recognized as an internal or external command, operable program or batch file.
changelog
'.' is not recognized as an internal or external command, operable program or batch file.
test-unit:date
'.' is not recognized as an internal or external command, operable program or batch file.
test:create-block
'.' is not recognized as an internal or external command, operable program or batch file.
check-local-changes
'xargs' is not recognized as an internal or external command, operable program or batch file.
dev:packages
lint-css / lint-css:fix
Error: No files matching the pattern "'**/*.scss'" were found.
test-unit
prelint-php
/docker-entrypoint.sh: exec: line 24: 'install: not found
test-unit-php
sudo: 'phpunit: command not found
test-unit-php-multisite
× Command failed with exit code 2
What is the cause?
I think that one of the following is the cause.
(e.g. Fix: npm script error on Windows (api-docs:ref) #38326, Fix: Build failure on Windows #37189).
(e.g.
xargs
)(e.g.
phpunit
command is prefixed with a single quote)The text was updated successfully, but these errors were encountered: