Closed (fixed)
Project:
GridStack
Version:
8.x-2.9
Component:
Documentation
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
8 Sep 2022 at 17:29 UTC
Updated:
15 Jun 2023 at 14:44 UTC
Jump to comment: Most recent
I get this error at the Status report site
GRIDSTACK LIBRARY Not installed
The GridStack library should be installed at /libraries/gridstack/dist/gridstack-h5.js|gridstack-static.js, or any path supported by core D8.9 library finder. Check out file or folder permissions if troubled.
--
Here it is a solution, please update the docs for the latest versions of
GridStack (8.x-2.9+ and DEV ) that require library v5:
composer require 'npm-asset/gridstack:^5.1.1'
or
npm install --save gridstack@5.1.1
otherwise it will download version 6.0.x
Comments
Comment #2
desix75 commentedComment #3
desix75 commentedComment #4
gausarts commentedNoted. Thank you.
Marking this as task.
To support v6 while supporting v4-v5, we should consinder hook_library_info_alter and modify path to a new location if detected. Samples are at Slick or Splide.
If anyone are interested, patches are welcome to be included here or at a new thread, no problems. Thanks.
Comment #5
belba commentedFor people who have problems downloading the library via composer. Here I copy the info obtained from the Blazy UI help info.
You need the asset-packagist.
Under repositories add :
Under extra add :
Run this command
composer require oomphinc/composer-installers-extenderThen try to reinstall the library in version 5.x as above instructed.
Comment #6
gausarts commentedComment #7
gausarts commentedShould be there since 2.10+.
GridStack library moves very faster than any humble developers could catch up:
As an end user, I don't mind older versions as long as they work properly, or at least as expected.
For this reason I also prefer older Slick v1.6 than the newest ones, mostly due to unresolved bugs with the latest ones. I don't worry much about minor improvements, I would worry more about battle-tested versions and their stability.
Once we got more free time we should consider to update, but no priorities in the near future.
Thanks.