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
TypeError: Cannot read properties of undefined (reading 'then')
at /home/akait/IdeaProjects/webpack-cli/node_modules/webpack/lib/ProgressPlugin.js:358:27
at Hook.eval [as callAsync] (eval at create (/home/akait/IdeaProjects/webpack-cli/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:8:17)
at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (/home/akait/IdeaProjects/webpack-cli/node_modules/tapable/lib/Hook.js:18:14)
at /home/akait/IdeaProjects/webpack-cli/node_modules/webpack/lib/Compiler.js:1192:33
at finalCallback (/home/akait/IdeaProjects/webpack-cli/node_modules/webpack/lib/Compilation.js:2787:11)
at /home/akait/IdeaProjects/webpack-cli/node_modules/webpack/lib/Compilation.js:3092:11
at Hook.eval [as callAsync] (eval at create (/home/akait/IdeaProjects/webpack-cli/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (/home/akait/IdeaProjects/webpack-cli/node_modules/tapable/lib/Hook.js:18:14)
at /home/akait/IdeaProjects/webpack-cli/node_modules/webpack/lib/Compilation.js:3085:38
at eval (eval at create (/home/akait/IdeaProjects/webpack-cli/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:17:1)
Node.js v18.12.0
looks like cache was not design for multi compiler mode, we need to fix it
Don't have ideas how to fix it properly... We need multi compiler and apply plugin, but don't have a hook for it, we can use handler, but it will loose ability to set options, it was not design for this, very bad
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What kind of change does this PR introduce?
bug fix
Did you add tests for your changes?
No, but we need after we will fix a problem in webpack
If relevant, did you update the documentation?
No need
Summary
fixes #3604
Does this PR introduce a breaking change?
No
Other information
There is a bug inside webpack:
looks like cache was not design for multi compiler mode, we need to fix it