Account created on 29 December 2016, almost 8 years ago
  • Director of Development Operations at Tactis 
#

Recent comments

I too am having a similar problem. I have not had the time to really dive into webpack. I have not used that before. But it appears to be looking for a DOM element that doesn't exist. The other issue that is happening is with the Chosen module. This function must be running on any select change. I get the same error when I am simply using a chosen select. Once the error occurs, all JS is stopped, so nothing else on the page will function either. The details of the message are not too helpful, but :

Uncaught TypeError: this.document.querySelector(...) is null
    setDivHtmlByClassSelector /modules/contrib/permissions_by_term/js/webpack-dist/bundle.js?v=9.5.9:8
    renderPermissionsInfo /modules/contrib/permissions_by_term/js/webpack-dist/bundle.js?v=9.5.9:8
    r /modules/contrib/permissions_by_term/js/webpack-dist/bundle.js?v=9.5.9:1
    t /modules/contrib/permissions_by_term/js/webpack-dist/bundle.js?v=9.5.9:1
    jQuery 2
        dispatch
        handle
bundle.js:8:17670

I attempted to downgrade to 3.1.21 but that did not solve the problem for me.

If anyone can provide any "How-Tos" on setting up webpack, that would be helpful for me.

Thanks.

Production build 0.71.5 2024