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.

Comments

RobertoGuzman created an issue. See original summary.

gausarts’s picture

Component: User interface » Documentation
Category: Bug report » Support request
Status: Active » Fixed

Sorry for inconveniences :)

Please find more info:

If still trouble, here are the steps:
https://git.drupalcode.org/project/gridstack/-/blob/8.x-2.x/docs/README....

It was socialized months before release, precisely last end year:
https://www.drupal.org/node/2672858/revisions/12499335/view

Be sure you can view the file at your browser:
https://mysite.com/libraries/gridstack/dist/gridstack-static.js

Missing (404) or folder permissions (403) may fail loading it.

Let me know.

Status: Fixed » Closed (fixed)

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

nelo_drup’s picture

This file gridstack-static.js does not exist anywhere the closest would be gridstack-static.ts
without this file I still get the same error described in the general comment

Search from version 4 to 5 as indicated in the instructions

My version drupal is 9.5.2 and php 8.1

gausarts’s picture

See #2 for details.

Must stick to the exact library versions mentioned there due to ever changing library contents.

Also see the related issue for v6 which is not supported yet, but should likely work fine.

I hope that helps :)

nelo_drup’s picture

#5 I also put the versions that they put and this file is not there either

gausarts’s picture

You are right.

The files need to be firstly generated using one these:
https://git.drupalcode.org/project/gridstack/-/blob/8.x-2.x/docs/README....

Be sure to retrict it to v5.1.1 as mentioned here:
#3308678: GRIDSTACK LIBRARY v6+ is not supported yet

Version 6+ is not supported yet. I noticed only minor mobile os enhancements, not really crucial to frontend usages, nor admin pages, mostly accessed via desktop.

Let me know if any other question?

Cheers.

gausarts’s picture

I put the GridStack library v5.1.1 archive at dropbox for FTP users:
https://www.dropbox.com/s/g7lrt6frn5wcvmd/gridstack.zip?dl=0

Be sure you can see /libraries/gridstack/dist/gridstack-static.js, in case your FTP put it in double gridstack folders.

nelo_drup’s picture

#8 Now if the files exist, great and thanks