-
Notifications
You must be signed in to change notification settings - Fork 3
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
Error during setup-wordpress task #5
Comments
Hi, thanks for reporting the issue. Unfortunately I don't have access to a Windows system to debug on currently. |
I can confirm this, Windows 10 is my OS, Composer version 2.7.2 |
We had a look into the issue and unfortunately the way we wanted to run the composer command after creating the project does not work in Windows. We will remove the |
Hey Hendrik, I hope I'm understanding right. Basically the post-create-project-cmd isn't running, so post project creation I run create:plugin and that should do it... It's not working for me. It asks all the questions, I filled everything in, it still isn't showing up in the plugin section of my admin panel on WP and I'm not seeing the files in the plg root that I would expect for a wordpress plugin. Actually, come to think of it, how does it know it's for Wordpress and not Joomla without me specifying that? With "task" there was differentiation. |
@GenoPeppino did you run the |
I get the following error when I run task setup-wordpress... Script YOOtheme\Starter\TaskHelper::run handling the run:task event terminated with an exception In Finder.php line 592: The ".../test-three-ytp/wordpress/test_three_ytp" directory does not exist. task: Failed to run task "setup-wordpress": exit status 1 |
@GenoPeppino I'm not sure where the path |
To the best of my understanding. composer update in the root didn't change anything. Please note a mistake in the path I shared (accidentally removed dist). Mine is basically the same as the one in the initial question from @Taimurian ".../wp-content/plugins/my-plugin/dist/wordpress/my-plugin" directory does not exist. Full error message: task: [utils:copy] composer run:task -q -- copy '*.php' dist/wordpress/test_ninety_ytp In Finder.php line 592: The ".../wp-content/plugins/test-ninety-ytp/dist/wordpress/test_ninety_ytp" directory does not exist. run:task [--dev] [--no-dev] [--] [...] task: Failed to run task "setup-wordpress": exit status 1 |
It looks like the plugin files weren't created in the |
That's not what I'm seeing. Here are the differences:
In this order I ran the following: While my error matches the first one reported, NOTE the difference: This shows that Author, author URL, description, etc were all filled in during the create:plugin process. So it did run, and I didn't see any errors. |
Hey there, any progress? |
I can not replicate the issue? The files in the |
I encountered two issues while trying to use the Yootheme Starter Plugin:
setup-wordpress
task due to a missing directory.create-project
step, as stated in the documentation.Steps to reproduce
cd myplugin
Expected behavior
composer create-project
command, I expected to be prompted for additional plugin metadata (title, description, author, etc.) as described in the documentation.setup-wordpress
task should complete successfully and copy the necessary plugin files from the build folder to the plugin root folder.Screenshots
Environment:
The text was updated successfully, but these errors were encountered: