Browser console error "__webpack_require__ is not defined" on fresh clone.
dominikj111 opened this issue · 4 comments
Is this a BUG REPORT or FEATURE REQUEST?:
bug
What happened:
The error appeared in the browser console (Firefox 87.0, Chrome 89.0.4389.90) multiple times.
What you expected to happen:
No error as on the example site running on https://about.txtdirect.org/
How to reproduce it (as minimally and precisely as possible):
Clone repository, go to the exampleSite and do hugo server -D
or
do hugo -D
instead and provide the result by some local server.
Environment:
- Syna Theme version: master, v0.17
- Hugo version: hugo v0.82.0+extended darwin/amd64 BuildDate=unknown
Check with hugo v0.76.5 for now.
It is struggling to downgrade at the moment, so I think I'll just ignore the issue for now.
Rolled hugo back to v0.76.5 fixed my "webpack_require is not defined"
Thank you!
Also running into this using both the theme, via sub-module, as well as the starter project.
syna v0.17.4
hugo v0.83.1+extended linux/amd64
TypeError: can't redefine non-configurable property "globalPrivacyControl"
Uncaught ReferenceError: __webpack_require__ is not defined
<anonymous> webpack:///./assets/js/contact.js?:1
js http://localhost:1414/scripts/syna-contact.min.25978065e5e56c1e570de0c4989574b57b3391494d02e678b275ba5b27931224.js:1
a http://localhost:1414/scripts/syna-contact.min.25978065e5e56c1e570de0c4989574b57b3391494d02e678b275ba5b27931224.js:1
<anonymous> http://localhost:1414/scripts/syna-contact.min.25978065e5e56c1e570de0c4989574b57b3391494d02e678b275ba5b27931224.js:1
<anonymous> http://localhost:1414/scripts/syna-contact.min.25978065e5e56c1e570de0c4989574b57b3391494d02e678b275ba5b27931224.js:1
...
I noticed this prevents particle-js from running on the landing page image, along with the "back to top" button and hamburger menu.