We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug I am using this boilerplate for plugin development https://github.com/wp-strap/wordpress-plugin-boilerplate.
package.json has this script:
package.json
"translate": "wp-pot --src '**/**/**/*.php' --dest-file 'languages/test-plugin.pot' --package 'test-plugin' --domain 'test-plugin' --last-translator 'Test Plugin <info@testplugin.com>' --team 'Test Plugin <info@testplugin.com>' --bug-report 'testplugin.com'"
When i run yarn translate i get the following error:
yarn run v1.22.19 $ wp-pot --src '**/**/**/*.php' --dest-file 'languages/test-plugin.pot' --package 'test-plugin' --domain 'test-plugin' --last-translator 'Test Plugin <info@testplugin.com>' --team 'Test Plugin <info@testplugin.com>' --bug-report 'testplugin.com' The system cannot find the file specified. error Command failed with exit code 1.
yarn run v1.22.19
$ wp-pot --src '**/**/**/*.php' --dest-file 'languages/test-plugin.pot' --package 'test-plugin' --domain 'test-plugin' --last-translator 'Test Plugin <info@testplugin.com>' --team 'Test Plugin <info@testplugin.com>' --bug-report 'testplugin.com'
The system cannot find the file specified.
error Command failed with exit code 1.
To Reproduce run yarn translate (wp-pot)
yarn translate
This will throw the following error: The system cannot find the file specified. error Command failed with exit code 1.
Module versions └─┬ wp-pot-cli@1.5.0 └─┬ wp-pot@1.10.2 └── php-parser@3.1.2
Additional context What can cause this issue, can't find anything related to it.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
I am using this boilerplate for plugin development https://github.com/wp-strap/wordpress-plugin-boilerplate.
package.json
has this script:"translate": "wp-pot --src '**/**/**/*.php' --dest-file 'languages/test-plugin.pot' --package 'test-plugin' --domain 'test-plugin' --last-translator 'Test Plugin <info@testplugin.com>' --team 'Test Plugin <info@testplugin.com>' --bug-report 'testplugin.com'"
When i run yarn translate i get the following error:
yarn run v1.22.19
$ wp-pot --src '**/**/**/*.php' --dest-file 'languages/test-plugin.pot' --package 'test-plugin' --domain 'test-plugin' --last-translator 'Test Plugin <info@testplugin.com>' --team 'Test Plugin <info@testplugin.com>' --bug-report 'testplugin.com'
The system cannot find the file specified.
error Command failed with exit code 1.
To Reproduce
run
yarn translate
(wp-pot)This will throw the following error:
The system cannot find the file specified.
error Command failed with exit code 1.
Module versions
└─┬ wp-pot-cli@1.5.0
└─┬ wp-pot@1.10.2
└── php-parser@3.1.2
Additional context
What can cause this issue, can't find anything related to it.
The text was updated successfully, but these errors were encountered: