amireh / happypack

Happiness in the form of faster webpack build times.
MIT License
4.23k stars 124 forks source link

Cannot read property 'normal' of undefined #266

Open whu12yz opened 3 years ago

whu12yz commented 3 years ago

when I upgrade to webpack@5.0.0-beta.22 I got this error. There is no resolvers in compiler. happypack@5.0.1

var resolver = compiler.resolvers.normal;
                                      ^

TypeError: Cannot read property 'normal' of undefined
shuyue426 commented 3 years ago

same issue,with webpack@^5.1.3

juliana-zhu commented 3 years ago

same issue, with webpack@^5.9.0

mmillet commented 3 years ago

when I upgrade to webpack@5.0.0-beta.22 I got this error. There is no resolvers in compiler. happypack@5.0.1

var resolver = compiler.resolvers.normal;
                                      ^

TypeError: Cannot read property 'normal' of undefined

It seems that not support webpack 5. Use thread-loader instead.

camellieeee commented 3 years ago

same issue, with webpack@^5.44.0

ajotka commented 2 years ago

same issue, with webpack@^5.72.0