Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
4
Help us understand the problem. What is going on with this article?
@Hi_Noguchi

Webpack4でのビルドエラー「Chunk.entrypoints:」

More than 1 year has passed since last update.

問題と対処法

webpack4 環境で build 時に以下エラーが出た場合。

Error: Chunk.entrypoints: Use Chunks.groupsIterable and filter by instanceof Entrypoint instead
    at Chunk.get (/var/www/node_modules/webpack/lib/Chunk.js:750:9)
    at /var/www/node_modules/extract-text-webpack-plugin/dist/index.js:176:48
    at Array.forEach (<anonymous>)
    at /var/www/node_modules/extract-text-webpack-plugin/dist/index.js:171:18
    at AsyncSeriesHook.eval [as callAsync] (eval at create (/var/www/node_modules/tapable/lib/HookCodeFactory.js:24:12), <anonymous>:7:1)
    at AsyncSeriesHook.lazyCompileHook [as _callAsync] (/var/www/node_modules/tapable/lib/Hook.js:35:21)
    at Compilation.seal (/var/www/node_modules/webpack/lib/Compilation.js:905:27)
    at hooks.make.callAsync.err (/var/www/node_modules/webpack/lib/Compiler.js:494:17)
    at _err0 (eval at create (/var/www/node_modules/tapable/lib/HookCodeFactory.js:24:12), <anonymous>:11:1)
    at _addModuleChain (/var/www/node_modules/webpack/lib/Compilation.js:771:12)
    at processModuleDependencies.err (/var/www/node_modules/webpack/lib/Compilation.js:710:9)
    at process._tickCallback (internal/process/next_tick.js:61:11)

extract-text-webpack-plugin のver.問題らしい。

npm i -D extract-text-webpack-plugin@next

すると通るようになった。

参考

4
Help us understand the problem. What is going on with this article?
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Hi_Noguchi
ピティナ(一般社団法人全日本ピアノ指導者協会) 本部 CTO / 株式会社東音企画 外部 CTO。 育休一年 ( 2019/03/01 ~ 2020/02/29 ) 取得完了!
piano
ピティナは音楽指導者の団体で、また世界最大のピアノコンクールを主催する団体でもあります。 「~音楽の必要性を社会に向けて立証する~」ため、エンジニアを採用し始めました!!

Comments

No comments
Sign up for free and join this conversation.
Sign Up
If you already have a Qiita account Login
4
Help us understand the problem. What is going on with this article?