You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 29, 2019. It is now read-only.
The stack trace points to .chunkModule.source() being called without parameter here, which leads to the runtime variable being undefined here
This looks like the same line is causing this as in #722.
EDIT: I can confirm that the issue is related to dynamic module loading: If I remove all dynamic import statements, the error goes away (see #722 (comment))
Here's the full stack trace:
/Users/tz-mac/Repos/pex-client/node_modules/webpack/lib/DelegatedModule.js:66
str = `module.exports = (${runtime.moduleExports({
^
TypeError: Cannot read property 'moduleExports' of undefined
at DelegatedModule.source (/Users/tz-mac/Repos/pex-client/node_modules/webpack/lib/DelegatedModule.js:66:38)
at Function.renderExtractedChunk (/Users/tz-mac/Repos/pex-client/node_modules/extract-text-webpack-plugin/dist/index.js:115:38)
at ExtractTextPlugin.extractedChunks.forEach.extractedChunk (/Users/tz-mac/Repos/pex-client/node_modules/extract-text-webpack-plugin/dist/index.js:298:46)
at Array.forEach (<anonymous>)
at compilation.hooks.additionalAssets.tapAsync.assetCb (/Users/tz-mac/Repos/pex-client/node_modules/extract-text-webpack-plugin/dist/index.js:286:25)
at AsyncSeriesHook.eval [as callAsync] (eval at create (/Users/tz-mac/Repos/pex-client/node_modules/tapable/lib/HookCodeFactory.js:24:12), <anonymous>:7:1)
at AsyncSeriesHook.lazyCompileHook [as _callAsync] (/Users/tz-mac/Repos/pex-client/node_modules/tapable/lib/Hook.js:35:21)
at hooks.optimizeTree.callAsync.err (/Users/tz-mac/Repos/pex-client/node_modules/webpack/lib/Compilation.js:939:32)
at _err0 (eval at create (/Users/tz-mac/Repos/pex-client/node_modules/tapable/lib/HookCodeFactory.js:24:12), <anonymous>:11:1)
at _async2.default.forEach.err (/Users/tz-mac/Repos/pex-client/node_modules/extract-text-webpack-plugin/dist/index.js:281:11)
at /Users/tz-mac/Repos/pex-client/node_modules/extract-text-webpack-plugin/node_modules/async/dist/async.js:421:16
at iteratorCallback (/Users/tz-mac/Repos/pex-client/node_modules/extract-text-webpack-plugin/node_modules/async/dist/async.js:998:13)
at /Users/tz-mac/Repos/pex-client/node_modules/extract-text-webpack-plugin/node_modules/async/dist/async.js:906:16
at _async2.default.forEach.err (/Users/tz-mac/Repos/pex-client/node_modules/extract-text-webpack-plugin/dist/index.js:259:13)
at /Users/tz-mac/Repos/pex-client/node_modules/extract-text-webpack-plugin/node_modules/async/dist/async.js:421:16
at iteratorCallback (/Users/tz-mac/Repos/pex-client/node_modules/extract-text-webpack-plugin/node_modules/async/dist/async.js:998:13)
The text was updated successfully, but these errors were encountered:
I get
TypeError: Cannot read property 'moduleExports' of undefined
after upgrading to webpack 4 and the new alpha of the extract-text plugin:The stack trace points to
.chunkModule.source()
being called without parameter here, which leads to theruntime
variable being undefined hereThis looks like the same line is causing this as in #722.
EDIT: I can confirm that the issue is related to dynamic module loading: If I remove all dynamic import statements, the error goes away (see #722 (comment))
Here's the full stack trace:
The text was updated successfully, but these errors were encountered: