egret-labs/egret-ui-editor-opensource

Error in npm run build

Opened this issue · 0 comments

Av3z commented

93% sealing after asset optimization ts-loaderC:\Users\willy\Downloads\egret-ui-editor-opensource-1.12.1\node_modules\ts-loader\dist\after-compile.js:19
if (compilation.compiler.isChild()) {
^

TypeError: Cannot read properties of undefined (reading 'compiler')
at C:\Users\willy\Downloads\egret-ui-editor-opensource-1.12.1\node_modules\ts-loader\dist\after-compile.js:19:25
at C:\Users\willy\Downloads\egret-ui-editor-opensource-1.12.1\node_modules\ts-loader\dist\instances.js:216:93
at Hook.eval [as call] (eval at create (C:\Users\willy\Downloads\egret-ui-editor-opensource-1.12.1\node_modules\webpack\node_modules\tapable\lib\HookCodeFactory.js:19:10), :12:1)
at Hook.CALL_DELEGATE [as _call] (C:\Users\willy\Downloads\egret-ui-editor-opensource-1.12.1\node_modules\webpack\node_modules\tapable\lib\Hook.js:14:14)
at C:\Users\willy\Downloads\egret-ui-editor-opensource-1.12.1\node_modules\webpack\lib\Compilation.js:3178:40
at eval (eval at create (C:\Users\willy\Downloads\egret-ui-editor-opensource-1.12.1\node_modules\webpack\node_modules\tapable\lib\HookCodeFactory.js:33:10), :20:1)
at C:\Users\willy\Downloads\egret-ui-editor-opensource-1.12.1\node_modules\webpack\lib\Compilation.js:529:10
at C:\Users\willy\Downloads\egret-ui-editor-opensource-1.12.1\node_modules\html-webpack-plugin\lib\cached-child-compiler.js:267:53