Closed (fixed)
Project:
GridStack
Version:
8.x-2.x-dev
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
1 May 2020 at 14:55 UTC
Updated:
28 May 2020 at 20:39 UTC
Jump to comment: Most recent
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.