Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Cannot run 'composer drupal-scaffold' in 2.5.0 #81

Closed
potterme opened this issue Jun 6, 2018 · 3 comments
Closed

Cannot run 'composer drupal-scaffold' in 2.5.0 #81

potterme opened this issue Jun 6, 2018 · 3 comments

Comments

@potterme
Copy link

potterme commented Jun 6, 2018

Did a composer update today and got the drupal-scaffold 2.5.0 (had 2.4.0 before). Now running "composer drupal-scaffold" just displays:

$ composer drupal-scaffold
> DrupalComposer\DrupalScaffold\Plugin::scaffold

In the code I see it is doing a @trigger_error to tell me this is deprecated (although it never printed this message). It says to use "composer drupal:scaffold", but this doesn't actually do anything either (no errors, just nothing).

Reverting back to 2.4.0 allowed it to start working again. Not sure what else to try.

@webflo
Copy link
Member

webflo commented Jun 6, 2018

This is duplicate of #79

@webflo webflo closed this as completed Jun 6, 2018
@potterme
Copy link
Author

potterme commented Jun 6, 2018

I saw that issue, but I'm not getting the error message mentioned there, so wasn't sure this was the same thing.

@webflo
Copy link
Member

webflo commented Jun 6, 2018

@potterme Please remove the custom script from your composer.json. The scaffold plugin provides its own command since version 2.5.0.

You can call the command via "composer drupal:scaffold"

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants