ive installed libraries module in d8 beta6. ive tried locating the folder in domain.com/sites/all/libraries and domain.com/ neither are working.

Report page warning: "Download highlight.js assets into /libraries/highlight". (looks like domain root??)

please can you advise on the correct location of libraries files for d8

thanks

laurence

Comments

Snehal Brahmbhatt’s picture

You can find folder structure for Drupal 8 here.

Hope this helps you.

Thanks,
Snehal Brahmbhatt | AddWeb Solution
https://www.drupal.org/user/3147795/track

rjacobs’s picture

Priority: Major » Normal
Status: Active » Fixed

I hope the info in #1 helped. If something is still not clear please feel free to follow-up with more info.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

zatarain21’s picture

The problem is that in drupal 7 we need to create the libraries directory in side of sites (all, default, ...)

In Drupal 8 we need to create libraries directory in the root folder (the first one).
That is a little wire but the reason is that this are external libraries that doesn't take advantage of the new configuration feature in Drupal 8

Regards

pkosenko’s picture

I am not sure that this works at all. I am prepping a D8 site for migration. The responsive_menu module requires installation of the jquery mmenu library. When I install that library in "/libraries/mmenu/dist" as the libraries yml file specifies, I STILL get a "missing library" message in the status report (even after clearing caches). The "mmenu" library git repository has a "dist" folder that I loaded up into "libraries/mmenu". Creating a "libraries" folder in root and putting the JS library into it DID NOT WORK. This is on Pantheon.

I also tried uninstalling and reinstalling the responsive_menu module. That fixed nothing. D8 could still not find the mmenu library in the ROOT "libraries" directory.

I notice that two dependencies of mmenu are also missing. So I am going to try to install hammer.js and superfish.js. If THAT clears up the issue, then the following error message is the source of the confusion. (The module should not be listed as missing if what is REALLY missing is its DEPENDENCIES).

Responsive menu: mmenu library
Library not installed
The mmenu library must be installed at /libraries/mmenu and must be version 6.1.4 or greater. The download url is https://api.github.com/repos/FrDH/jQuery.mmenu/zipball

**************

Responsive menu: hammerjs library
Library not installed
The hammerjs library must be installed at /libraries/hammerjs and must be version 2.0.7 or greater. The download url is https://api.github.com/repos/hammerjs/hammer.js/zipball

Responsive menu: superfish library
Library not installed
The superfish library must be installed at /libraries/superfish and must be version 1.7.0 or greater. The download url is https://api.github.com/repos/joeldbirch/superfish/zipball

dkrockville’s picture

I am still having this same problem with super fish lib 1.7.10