drupal-finder
drupal-finder copied to clipboard
1.2.x doesn't work with drupal/recommended-project ?
Hi and thank you very much for this great project!
I recently switched composer.json's to https://github.com/drupal/recommended-project as described here and therefor upgraded from drupal-finder:1.1.0 to drupal-finder:1.2.2. Now all compatible drush versions (8/9/10) are unable to find the Drupal root.
! [NOTE] Drupal root not found. Pass --root or a @siteAlias in order to see Drupal-specific commands.
I wasn't even able to set the root via parameter or any other workaround. 1.1.0 isn't compatible with drupal/recommended-project so I guess this is a critical issue?
Or what am I doing wrong?
Thank you very much for your help and time!
Here's my composer.json:
{ "name": "drupal/recommended-project", "description": "Project template for Drupal 8 projects with a relocated document root", "type": "project", "license": "GPL-2.0-or-later", "homepage": "https://www.drupal.org/project/drupal", "support": { "docs": "https://www.drupal.org/docs/user_guide/en/index.html", "chat": "https://www.drupal.org/node/314178" }, "require": { "composer/installers": "^1.9", "cweagans/composer-patches": "^1.6.5", "desandro/imagesloaded": "^4.1", "desandro/masonry": "^4.2", "drupal/addanother": "^1.0", "drupal/address": "^1.3", "drupal/admin_toolbar": "^2.0", "drupal/antibot": "^1.3", "drupal/backup_migrate": "^5.0@rc", "drupal/blazy": "^2.0@rc", "drupal/block_component_library": "^1.2", "drupal/captcha": "^1.0", "drupal/ckeditorheight": "^1.2", "drupal/codemirror_editor": "^1.0", "drupal/config_update": "^1.3", "drupal/console": "~1.0", "drupal/cookie_content_blocker": "^1.5", "drupal/core-composer-scaffold": "^8.9", "drupal/core-recommended": "^8.9", "drupal/crop": "2.x-dev@dev", "drupal/ctools": "^3.0", "drupal/devel": "^4.0", "drupal/devel_debug_log": "^1.0", "drupal/devel_php": "^1.3", "drupal/dropdown_language": "^2.6", "drupal/dropzonejs": "^2.1", "drupal/drowl_admin": "^2.0", "drupal/drowl_admin_dashboard": "^1.0@alpha", "drupal/drowl_header_slides": "^3.0", "drupal/drowl_layouts": "^2.0@beta", "drupal/drowl_media": "^2.0@beta", "drupal/drowl_paragraphs": "^3.8", "drupal/dynamic_entity_reference": "^1.4", "drupal/editor_advanced_link": "^1.3", "drupal/embed": "^1.0", "drupal/entity_browser": "^2.1", "drupal/entity_embed": "^1.0", "drupal/entity_reference_display": "^1.1", "drupal/entity_reference_layout": "^1.0@alpha", "drupal/entity_reference_revisions": "^1.4", "drupal/eu_cookie_compliance": "1.x-dev@dev", "drupal/eva": "^2.0@rc", "drupal/features": "^3.5", "drupal/fences": "2.x-dev#ed9aed6", "drupal/fences_block": "^1.0@beta", "drupal/field_formatter": "^2.0", "drupal/field_group": "^3.0", "drupal/field_tools": "^1.0", "drupal/flood_unblock": "^3.0", "drupal/focal_point": "^1.0", "drupal/foundation_anchor_menu_block": "^1.1", "drupal/foundation_sites": "^1.0@RC", "drupal/ga": "^1.4", "drupal/genpass": "^1.0", "drupal/honeypot": "^2.0", "drupal/image_resize_filter": "1.x-dev", "drupal/improve_line_breaks_filter": "^1.1", "drupal/inline_entity_form": "^1.0@rc", "drupal/ip_anon": "^1.2", "drupal/layout_disable": "^1.0", "drupal/libraries": "^3.0", "drupal/link_attributes": "^1.0", "drupal/linkit": "^6.0@beta", "drupal/login_security": "^2.0", "drupal/mailsystem": "^4.1", "drupal/media_entity": "2.x-dev@dev", "drupal/media_entity_actions": "^1.0@alpha", "drupal/media_entity_browser": "^2.0", "drupal/media_entity_document": "1.x-dev@dev", "drupal/media_entity_download": "^2.0@beta", "drupal/media_entity_generic": "^1.0", "drupal/media_entity_image": "^1.3", "drupal/media_entity_image_exif": "1.x-dev@dev", "drupal/media_entity_instagram": "2.x-dev@dev", "drupal/media_entity_slideshow": "^2.0@alpha", "drupal/media_entity_twitter": "^2.0@alpha", "drupal/menu_block": "^1.6", "drupal/menu_force": "^1.0", "drupal/menu_item_extras": "^2.3", "drupal/metatag": "^1.5", "drupal/micon": "^1.5", "drupal/page_manager": "4.x-dev@dev", "drupal/paragraphs": "^1.9", "drupal/pathauto": "^1.6", "drupal/perimeter": "^1.0@alpha", "drupal/permissions_dragcheck": "^1.1", "drupal/photoswipe": "^3.0@alpha", "drupal/quick_node_clone": "^1.12", "drupal/rabbit_hole": "^1.0@beta", "drupal/rabbit_hole_href": "^2.0", "drupal/readmore_extrafield": "^3.0", "drupal/redirect": "^1.2", "drupal/reroute_email": "^1.2", "drupal/responsive_background_image": "^1.0@alpha", "drupal/responsive_favicons": "^1.4", "drupal/scheduler": "^1.1", "drupal/search404": "^2.0", "drupal/search_api": "^1.10", "drupal/search_api_page": "^1.0@alpha", "drupal/security_review": "1.x-dev", "drupal/shield": "1.x-dev@dev", "drupal/simple_megamenu": "^1.0@beta", "drupal/simple_megamenu_bonus": "^1.0@alpha", "drupal/simple_sitemap": "^3.0@rc", "drupal/simplei": "^1.2", "drupal/simplify": "^1.0", "drupal/site_settings": "^1.19", "drupal/sitemap": "^2.0@beta", "drupal/slick": "^2.2", "drupal/slick_entityreference": "^2.0", "drupal/slick_paragraphs": "^2.0", "drupal/slick_views": "^2.0", "drupal/smart_trim": "^1.1", "drupal/spamspan": "^1.0", "drupal/svg_image": "^1.9", "drupal/swiftmailer": "^2.0@alpha", "drupal/token": "^1.1", "drupal/token_custom": "^1.0", "drupal/token_filter": "^1.0", "drupal/twig_field_value": "^2.0", "drupal/twig_tweak": "^2.0", "drupal/unset_html_head_link": "^1.0", "drupal/upgrade_status": "^3.0", "drupal/user_current_paths": "^2.0", "drupal/user_permission_condition": "1.x-dev", "drupal/video_embed_field": "^2.0", "drupal/video_embed_html5": "^1.1", "drupal/view_modes_display": "^2.3", "drupal/views_accordion_foundation": "^2.0", "drupal/views_bulk_edit": "^2.0", "drupal/views_bulk_operations": "^3.2", "drupal/views_linkarea": "^1.0@beta", "drupal/views_menu_children_filter": "^1.0", "drupal/viewsreference": "^2.0", "drupal/webform": "^5.0", "drupal/zurb_foundation": "^6.0@alpha", "drush/drush": "^10.0", "joachim-n/composer-manifest": "^1.1", "kenwheeler/slick": "dev-master-patched", "npm-asset/ckeditor-autogrow": "^1.0", "npm-asset/codemirror": "^5.42", "npm-asset/drag-check-js": "^2.0", "npm-asset/dropzone": "^5.7", "npm-asset/exif-js": "~2.3", "npm-asset/font-awesome": "^4.7.0", "npm-asset/photoswipe": "^4.1", "npm-asset/verge": "^1.10", "oomphinc/composer-installers-extender": "^2.0", "tijsverkoyen/css-to-inline-styles": "^2.2", "vardot/blazy": "^1.8" }, "require-dev": { "drupal/core-dev": "^8.9", "szeidler/composer-patches-cli": "^1.0" }, "conflict": { "drupal/drupal": "*" }, "minimum-stability": "dev", "prefer-stable": true, "config": { "optimize-autoloader": true, "sort-packages": true, "platform": { "php": "7.3.24" } }, "extra": { "drupal-scaffold": { "locations": { "web-root": "web/" } }, "composer-exit-on-patch-failure": true, "enable-patching": true, "patchLevel": { "drupal/core": "-p2" }, "patches": { "drupal/video_embed_field": { "Provide a URL field formatter (#2879932)": "https://www.drupal.org/files/issues/2018-12-18/video_embed_field-url-formatter-2879932-18.patch" }, "drupal/fences": { "Add optional wrapper around field items and correct class structure (#1343578)": "https://www.drupal.org/files/issues/2019-08-08/fences_8.x-3.x_add_items_wrapper__3018654-based__1343578-54.patch" }, "drupal/micon": { "https://www.drupal.org/files/issues/2018-08-16/micon-2950435-2replace-tags-with-name.patch": "https://www.drupal.org/files/issues/2018-08-16/micon-2950435-2replace-tags-with-name.patch" }, "drupal/site_settings": { "[DIRTY HACK, REMOVE ASAP:] How to get rendered value of Site Settings formatted text field in token (#2943440)": "https://www.drupal.org/files/issues/2019-07-23/site_settings_text_format_rendered_quickfix-2943440-11.patch" }, "drupal/ga": { "[GDPR:] COMBINED: Integration with EU Cookie Compliance module and DNT #3011324-8 + gaOptout() (#3073077-6)": "https://www.drupal.org/files/issues/2019-08-07/ga_optout-combined-eu_cookie_compliance-3073077-3011324-6.patch" }, "drupal/cookie_content_blocker": { "Add comparison for cookie does NOT contain or cookie does not exist (#3153845)": "https://www.drupal.org/files/issues/2020-09-11/not_exists_or_not_contains_operators-3153845-5.patch" }, "drupal/eu_cookie_compliance": { "[GDPR:] Option to place Withdraw Button anywhere on site (e.g. in block) (#2985390)": "https://git.drupalcode.org/issue/eu_cookie_compliance-2985390/-/commit/d95c84df4376ebd537150f41d305b0410a7da405.patch" }, "drupal/rabbit_hole": { "Required only for rabbit_hole_href: #3095653: Split performAction() into submethods in PageRedirect Behaviour": "https://www.drupal.org/files/issues/2019-11-21/3095653-5.patch" }, "drupal/entity_browser": { "Add Modal Class, Remove term entity from title, adjust width (#3112356)": "https://www.drupal.org/files/issues/2020-02-10/3112356-fix-modal-dialog.patch" }, "drupal/core": { "[8.8 RTBC Views] Cannot use relationship for rendered entity on Views (#2457999)": "https://www.drupal.org/files/issues/2020-05-30/cannot-use-relationship-2457999-236.patch", "Localization update feature logs 404 errors too agressively (#2879998)": "https://www.drupal.org/files/issues/2018-05-04/locale-add_ignore_404_option-2879998-9.patch", "[Layout-Builder] Error: Call to a member function getLabel() after enable layout_builder with media in core (#2985882)": "https://www.drupal.org/files/issues/2020-04-08/2985882-field-85.patch", "[Layout-Builder] Callers of LayoutEntityHelperTrait::getEntitySections() do not account for the view mode - InvalidArgumentException: Invalid UUID (#3008924)": "https://www.drupal.org/files/issues/2019-06-20/3008924-5.patch", "[Token] Add a token for the site logo (#2842780)": "https://www.drupal.org/files/issues/2019-07-12/2842780-110.patch", "[Layout-Builder] Layout builders use of sample data can cause exceptions during rendering of default entity view displays (#3069001)": "https://www.drupal.org/files/issues/2019-07-19/3069001-force-placeholders-sample-data-field-blocks.patch", "Drupal.views.ajaxView is not initializing pagers in nested views": "https://www.drupal.org/files/issues/2019-11-14/2858890-43.patch" }, "drupal/slick": { "Add option to wrap slick field markup into field.html.twig (#3134342)": "https://www.drupal.org/files/issues/2020-05-07/slick_entityreference-3134342-19.patch" }, "drupal/captcha": { "Fix Image CAPTCHA settings form (#2501699)": "https://www.drupal.org/files/issues/2020-02-03/2501699-38.patch" }, "drupal/entity_reference_layout": { "Element selection is broken - missing paragraph thumbnails (#3134453)": "https://www.drupal.org/files/issues/2020-06-10/3134453-get-paragraph-icon-url-5.patch" } }, "installer-types": [ "npm-asset", "bower-asset" ], "installer-paths": { "web/core": [ "type:drupal-core" ], "web/modules/contrib/{$name}": [ "type:drupal-module" ], "web/modules/custom/{$name}": [ "type:drupal-custom-module" ], "web/profiles/contrib/{$name}": [ "type:drupal-profile" ], "web/themes/contrib/{$name}": [ "type:drupal-theme" ], "web/themes/custom/{$name}": [ "type:drupal-custom-theme" ], "web/libraries/{$name}": [ "type:npm-asset", "type:bower-asset", "type:drupal-library" ], "drush/Commands/contrib/{$name}": [ "type:drupal-drush" ], "web/libraries/ckeditor/plugins/{$name}": [ "vendor:ckeditor-plugin" ] }, "_require-candidates": { "drupal/markup": "^1.0", "drupal/markup_twig": "^1.0", "drupal/menu_multilingual": "1.x-dev@dev", "drupal/revision_log_default": "^1.0", "drupal/recaptcha": "^2.3" }, "_require-dev-candidates": { "sensiolabs/security-checker": "~4.0" }, "_patch-candidates": { "drupal/officialfacebookpixel": { "[GDPR:] Settings, GDPR and CSP by libraries": "https://www.drupal.org/files/issues/2019-08-07/official_facebook_pixel-settings_csp_gdpr_8.x-2.x-candidate-3073070-2.patch" }, "drupal/cookiebot": { "Blockmode Auto will not work in Drupal 8 with core's domready library (#3091260-30)": "https://www.drupal.org/files/issues/2020-01-29/cookiebot-attach_behaviors-3091260-30.patch" }, "drupal/php": { "Text format with system name php_code is deleted when you view admin/modules/uninstall (#3016061)": "https://www.drupal.org/files/issues/2019-01-04/php-remove_filter_validator_uninstall-3016061-21.patch" }, "drupal/views_infinite_scroll": { "After update to Drupal 8.4 VIC replace results instead of appending, requires drupal/core: #2858890 (#2918352-19)": "https://www.drupal.org/files/issues/2020-06-29/filter-nested-views-2918352-19.patch" } } }, "repositories": [ { "type": "composer", "url": "https://packages.drupal.org/8" }, { "type": "composer", "url": "https://asset-packagist.org" }, { "type": "package", "package": { "name": "kenwheeler/slick", "version": "dev-master-patched", "type": "drupal-library", "_readme": "!! PATCHED !! We're using the patch from here https://github.com/kenwheeler/slick/pull/3674/commits/2a68c0bf58026d66838f9656d93527046646b4fb Without this patch Slick removes all events from subelements, e.g. photoswipe images within Slick.", "dist": { "url": "https://github.com/webksde/slick/archive/patch-1.zip", "type": "zip" } } } ] }