Error regarding couldn't find `mini-css-extract-plugin` module
xinghengwang opened this issue · 1 comments
xinghengwang commented
But 'mini-css-extract-pluggin' is installed, and inside the node_modeules directory.
So this error is very confusing:
ERROR in ./node_modules/bootstrap-loader/lib/bootstrap.loader.js!./node_modules/bootstrap-loader/no-op.js
Module build failed: Error:
Could not find 'mini-css-extract-plugin' module.
Make sure it's installed in your 'node_modules/' directory.
Error: TypeError: Cannot destructure property `createHash` of 'undefined' or 'null'.
at exports.default (~/node_modules/bootstrap-loader/lib/utils/buildExtractStylesLoader.js:13:11)
at Object.module.exports.pitch (~/node_modules/bootstrap-loader/lib/bootstrap.loader.js:187:86)
@ ./node_modules/bootstrap-loader/loader.js 2:17-61
Inside my node_modules/
folder:
Any ideas?
justin808 commented
See this setup: https://github.com/shakacode/bootstrap-loader/blob/master/examples/basic/package.json
I think you need to do some debugging.