webpack: Uncaught ReferenceError: __WEBPACK_AMD_DEFINE_ARRAY__ is not defined
I just updated to 1.3.4 and I started getting the above error from es5-shim
at run-time… I assume because it has a universal wrapper.
Not sure what else you need to know (or if I’ve done something wrong).
PS. Everything works as usual with 1.3.2-beta9
.
About this issue
- Original URL
- State: closed
- Created 10 years ago
- Comments: 18 (1 by maintainers)
occured to me on android native browser (lg g3) only. My devtoll was set to: “#eval-source-map”. once I changed to “#source-map” it worked. I came to this solution as I’ve noticed webpack output is very different when changing the devtool option
I was getting this error whenever I try to run my web application on Android browser (Galaxy S7). The same issue happens in both Webpack 1.13 and Webpack 2.2.
I was able to fix this error by using
devtool: 'cheap-module-source-map'
instead ofcheap-module-eval-source-map
. I think Anydevtool
that doesn’t useeval
will fix the issue. It seems Android browser has some difficulties running long eval codes.Running into the same issue here with
gulp watch
All is fine when it’s build using
gulp --production
It worked in android devices when i removed jQuery and object.assign from my project
@galziv very interesting.
Just to add another datapoint - I removed jQuery from my project and was able to get rid of this error on the android browser I was testing with. So at least in my project it was tied directly to importing jQuery. Also, my devtool has been set to “eval” when experiencing the error.
I’m using version
1.13.3
, and still got this error, but only on Android native browser.