Can't install with composer

Created on 6 March 2024, 9 months ago

Problem/Motivation

Can't install with composer, I think due to missing composer.json in the module? I am on Drupal 10.1

Problem 1 - Root composer.json requires drupal/content_reminders ^1.0@beta -> satisfiable by drupal/content_reminders[1.0.0-beta1, 1.0.0-beta2, 1.0.0-beta3]. - drupal/content_reminders[1.0.0-beta1, ..., 1.0.0-beta3] require drupal/core ~8.0 -> found drupal/core[8.0.0-beta6, ..., 8.9.x-dev] but the package is fixed to 10.1.8 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States NicholasS

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @NicholasS
  • πŸ‡ΊπŸ‡ΈUnited States NicholasS
  • πŸ‡ΊπŸ‡ΈUnited States NicholasS

    Also enabled the module on our page content type.

    And attempting to add a reminder in Gin and I get an ajax error /node/14931/edit?ajax_form=1&_wrapper_format=drupal_ajax

    The website encountered an unexpected error. Please try again later.



    Symfony\Component\HttpKernel\Exception\HttpException
    : The specified #ajax callback is empty or not callable. in Drupal\Core\Form\FormAjaxResponseBuilder->buildResponse()
    (line 67
    of core/lib/Drupal/Core/Form/FormAjaxResponseBuilder.php
    ).

    Drupal\Core\Form\EventSubscriber\FormAjaxSubscriber->onException(Object, 'kernel.exception ', Object)
    call_user_func(Array, Object, 'kernel.exception ', Object) (Line: 111)
    Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.exception ') (Line: 239)
    Symfony\Component\HttpKernel\HttpKernel->handleThrowable(Object, Object, 1) (Line: 91)
    Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
    Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
    Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 106)
    Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
    Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48)
    Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
    Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 51)
    Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 704)
    Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
    
  • πŸ‡ΊπŸ‡ΈUnited States NicholasS

    FYI got past the composer issues with Drupal Lenient

    "drupal-lenient": {
                "allowed-list": ["drupal/content_reminders"]
            }
    
  • πŸ‡ΊπŸ‡ΈUnited States NicholasS

    https://git.drupalcode.org/project/content_reminders/-/blob/1.0.x/src/Co...

    My Feedback, maybe you should do this like URL REDIRECTS module works, where the add button when clicked takes you to a form to create a redirect /admin/config/search/redirect/add?redirect=node/14931&destination=/node/14931/edit instead of trying to do it directly in the sidebar edit form.

  • πŸ‡ΊπŸ‡ΈUnited States NicholasS
Production build 0.71.5 2024