Go to main content
Informaid logo

INFORMAID

Main navigation
  • Home
    • Drupal development
    • Partners
    • Drupal achievements
  • Website development
    • Design and development of your website
    • Maintenance and support for your Drupal site
    • Why choose Drupal for your corporate website?
  • Drupal and web blog
    • What is a CMS?
    • Updates in Drupal
    • Drupal 7, end of support
Error jQuery UI Touch Punch requires the jquery_touche_punch.min.js. library

DRUPAL error: jQuery UI Touch Punch requires the jquery_ui_touch_punch.min.js. library

DRUPAL's jQuery UI Touch Punch module requires the jquery_ui_touch_punch library.

DRUPAL maintenance

Install a library required by a module contributing to DRUPAL.

The jQuery UI Touch Punch module has been installed without the required JS library.

There are 2 possible causes for this error message:

  • or you've installed the jQuery UI Touch Punch module by hand via the download on the drupal.org website, but forgot to download the associated JS library,
  • or you've installed the jQuery UI Touch Punch contribution module via the Composer tool, but the module didn't provide for autoloading of the library on which the module depends.

Please note that installing modules by manually downloading contribution modules from the drupal.org website has become bad practice since Drupal version 8 , as modules are sometimes dependent on external libraries. Manual downloading requires you to read the module code to learn about the dependencies , so that you can install them by hand.

La bonne pratique est d'utiliser Composer, outil d'installation des packages. Composer prend en compte les dépendances précisées dans les fichiers composer.json et <module>.info.yml.

This page describes the Composer installation solution.

If you're installing your libraries manually, please follow the instructions on the dedicated page"Installing an external library that is required by a contributed module" on the official drupal.org website.

1
Solution 1: reinstall the DRUPAL jQuery UI Touch Punch module via composer

Solution 1: reinstall the DRUPAL jQuery UI Touch Punch module via composer

If the composer.json file of the jQuery UI Touch Punch module contains the "require" configuration for the desired library, then simply reinstall the module as follows.

Open your command line console (Git bash on Windows) and perform the following steps:

Step 1: using the command lines, navigate to the directory containing the composer.json file

use the cd command:

cd <chemin vers répertoire contenant composer.json>

Step 2: uninstall the jQuery UI Touch Punch module

In your command terminal, execute the following line:

composer remove drupal/jquery_ui_touch_punch

Step 3: Reinstall the jQuery UI Touch Punch module

In your command terminal, execute the following line:

composer require 'drupal/jquery_ui_touch_punch

Step 4: Check that the associated library is installed

Open File Explorer and check that your project's "libraries" directory contains the jquery_ui_touch_punch directory. This contains the resources expected by the associated module.

2
Check for the presence of the jquery-ui-touch-punch library in the DRUPAL tree structure

Solution 2: if the associated library has still not been installed

If solution 1 didn't work: the jQuery UI Touch Punch module was installed, but not the associated library.

In this case, the library can be installed independently.

Open your command line console (Git bash on Windows) and perform the following steps:

Step 1: using the command lines, navigate to the directory containing the composer.json file

use the cd command:

cd <chemin vers répertoire contenant composer.json>

Step 2: installing the jQuery UI Touch Punch library

composer require politsin/jquery-ui-touch-punch

Step 3: Check that the associated library is installed

Open File Explorer and check that your project's "libraries" directory contains the jquery_ui_touch_punch directory. This contains the resources expected by the associated module.

Looking for a Drupal maintenance contract?

Are you looking for a maintenance contract for your DRUPAL websites? My maintenance contract offer could be of interest to you.

You can also contact me using the contact form.

Contact us

Send us your specifications, describing your request.

1 single file. Limited to 2 MB. Allowed file types: rtf, pdf, doc, docx, odt, ppt, pptx, odp, xls, xlsx, ods. limit 2 MB per form
CAPTCHA
4 + 11 =
Find the solution to this simple mathematical problem and enter the result. For example, for 1 + 3, enter 4.
To show you're not a robot, please answer the question below:
Fabienne RONDEAU, Drupal developer Nantes

Fabienne RONDEAU

Drupal Developer

(33) 6 33 44 07 51
  • INFORMAID RONDEAU's DRUPAL profile
  • Fabienne RONDEAU's linkedin profile
  • INFORMAID Facebook page
  • INFORMAID Twitter page
  • INFORMAID phone number

Footer menu

  • Contact
  • Site map
  • Terms of use
  • Privacy policy
Powered by Drupal{{ 'Drupal logo'|trans }}