[webpack] Error: Chunk.entrypoints: Use Chunks.groupsIterable and filter by instanceof Entrypoint in

Posted 一只小脚鸭~嘎

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了[webpack] Error: Chunk.entrypoints: Use Chunks.groupsIterable and filter by instanceof Entrypoint in相关的知识,希望对你有一定的参考价值。

 

环境:
webpack 4.0
extract-text-webpack-plugin
 
使用报错:
Error: Chunk.entrypoints: Use Chunks.groupsIterable and filter by instanceof Entrypoint instead
 
原因是:
没有使用最新的npm 包
 
解决办法:

 

以上是关于[webpack] Error: Chunk.entrypoints: Use Chunks.groupsIterable and filter by instanceof Entrypoint in的主要内容,如果未能解决你的问题,请参考以下文章

[webpack-cli] Error: Unknown option ‘-p‘ [webpack-cli] Run ‘webpack --help‘ to see available command

Webpack打包出错:Error: Cannot find module ‘webpack/lib/node/NodeTemplatePlugin‘ Require stack:

Error Cannot find module ‘webpack-clipackage.json‘

Error: Cannot find module ‘webpack/bin/config-yargs‘

Error: Cannot find module ‘webpack/bin/config-yargs‘

由于“Module not found: Error: Can't resolve”错误,Webpack 突然无法编译