Unable to install modules: module 'search_api_ai_simple_chatbot' is missing its dependency module jquery_once

Created on 23 July 2024, about 2 months ago
Updated 4 September 2024, 4 days ago

Problem/Motivation

Simple chatbot module declares dependency on jquery_once module but does not use it.
Either we add the jquery_once module in composer.json for the module or we remove it since core jquery is used.
We get this error:

  Unable to install modules: module 'search_api_ai_simple_chatbot' is missing its dependency module jquery_once.  

Steps to reproduce

Install the search_api_ai_simple_chatbot module.
You will see the error.

Proposed resolution

Remove dependency on jquery_once module since already the core/once library is being used.

Remaining tasks

NA

User interface changes

NA

API changes

NA

Data model changes

NA

🐛 Bug report
Status

RTBC

Version

1.0

Component

Code

Created by

🇮🇳India Vivek Panicker Kolkata

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

Merge Requests

Comments & Activities

  • Issue created by @Vivek Panicker
  • Issue was unassigned.
  • Status changed to Needs review about 2 months ago
  • Pipeline finished with Success
    about 2 months ago
    Total: 142s
    #231829
  • Hello,
    I've cloned the project (branch: 1.0.x), found the module search api ai chatbot is having jquery_once as one of the dependencies however it is not being used, the jquery and once library of the core is used instead. Hence, the module can't be enable due to the missing jquery_once module. To resolve this issue I've applied the MR!28 which applied cleanly and I could install the search api ai chatbot module without jquery_once module. I've included the ss for before and after, please have a look.
    Thanks

  • Status changed to RTBC 4 days ago
Production build 0.71.5 2024