Nothing works right. I've tried putting the library files in the right directory and nothing works. I've tried version 8x2.5 with 1.1.1 and other versions. Nothing.
Nothing works right. I've tried putting the library files in the right directory and nothing works. I've tried version 8x2.5 with 1.1.1 and other versions. Nothing.
Comments
Comment #2
lquessenberry commentedI keep getting this.
drupal.js?v=8.9.0-dev:13 Uncaught ReferenceError: GridStack is not defined
at Object.init (:1:1327)
at Object.dBlazy.forEach (:225:18)
at Object.attach (:1:1548)
at drupal.js?v=8.9.0-dev:25
at Array.forEach ()
at Object.Drupal.attachBehaviors (drupal.js?v=8.9.0-dev:22)
at HTMLDivElement. (ajax.js?v=8.9.0-dev:560)
at Function.each (jquery.min.js?v=3.4.1:2)
at k.fn.init.each (jquery.min.js?v=3.4.1:2)
at Drupal.AjaxCommands.insert (ajax.js?v=8.9.0-dev:558)
Comment #3
gausarts commentedThank you.
What does
/admin/reports/statussay about GridStack library exactly?Comment #4
gausarts commentedLooks like an obvious missing requirement. Be sure to install the library properly first.
The same applies to any module which normally requires third party library.
Friendly tips:
Do not always take
composerfor granted. Always verify the install at/admin/reports/statusfor sure.Feel free to re-open if still an issue.
Comment #5
lquessenberry commentedThanks. Yes this is fixed, but I have another issue related to it. Turns out a `drush cr` was all I had to do to fix my problem.