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

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

Vivek Panicker created an issue. See original summary.

vivek panicker’s picture

Assigned: vivek panicker » Unassigned
Status: Active » Needs review
esha_kundu’s picture

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. RTBC+
Thanks

esha_kundu’s picture

Status: Needs review » Reviewed & tested by the community