Mini-css-extract-plugin: TypeError: Cannot destructure property `createHash` of 'undefined' or 'null'

Created on 2 Apr 2018  Â·  5Comments  Â·  Source: webpack-contrib/mini-css-extract-plugin

I am using webpack 4.1.1, i made cache false, still i am getting the error. Is there a solution for this issue?

All 5 comments

You should use webpack 4.4.1

@bspatil0001 Yes please upgrade your webpack to latest version.

I tried 'npm install [email protected]' but still I am getting

npm WARN [email protected] requires a peer of buble@* but none is
installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of node-sass@^4.0.0 but none is
installed. You must install peer dependencies yourself.

I tried nom cache clear --force. Then tried install web pack 4.4.1.

Nothing is working. Do you know how to upgrade my webpack.

Thank You,

With Regards,
Basavanagouda.S.Patil

On Mon, Apr 2, 2018 at 8:58 PM, Evilebot Tnawi notifications@github.com
wrote:

@bspatil0001 https://github.com/bspatil0001 Yes please upgrade your
webpack to latest version.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/webpack-contrib/mini-css-extract-plugin/issues/77#issuecomment-377955638,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJzQBcFY2IRY_naKSsUWlUNRAtx6Upn1ks5tkkOogaJpZM4TDnf-
.

Here is the test repo ere is my repo https://github.com/bspatil0001/webpack-test.git

it is giving undefined function error.

I tried this command
npm install [email protected]
it's not working

Was this page helpful?
0 / 5 - 0 ratings

Related issues

PetrShypila picture PetrShypila  Â·  4Comments

mike-marcacci picture mike-marcacci  Â·  4Comments

mike1808 picture mike1808  Â·  3Comments

IdeaHunter picture IdeaHunter  Â·  3Comments

dstarosta picture dstarosta  Â·  3Comments