Hi there,
This whole time I’ve been using the global expo cli to create the web build for production release: expo build:web. When published this works successfully.
I wanted to move to the new way of doing it: npx expo export:web but the web build it creates looks different and when published, errors on the bootstrap file under the webpack directory.
This is the error:
Uncaught TypeError: Cannot read properties of undefined (reading ‘call’)
This is the line of code:
modules[moduleId].call(module.exports, module, module.exports, webpack_require);
And this is the function it’s under
function webpack_require(moduleId) {
The expo SDK version is 47
The webpack-config package version is 0.17.2
Anyone have any idea why this is happening?