Next.js: (node:45211) UnhandledPromiseRejectionWarning: Error: Chunk.entrypoints: Use Chunks.groupsIterable and filter by instanceof Entrypoint instead

Created on 5 Nov 2018  Â·  4Comments  Â·  Source: vercel/next.js

Bug report

(node:45211) UnhandledPromiseRejectionWarning: Error: Chunk.entrypoints: Use Chunks.groupsIterable and filter by instanceof Entrypoint instead

Describe the bug

Followed by the next document, I installed next and react, react-dom. Then I got the above error, so I searched, installed extract-text-webpack-plugin @ next and executed yarn dev.
However, I still get an error.

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

  1. yarn add next react react-dom
  2. yarn add -D extract-text-webpack-plugin@next
  3. yarn dev

Screenshots

2018-11-05 9 49 25

System information

  • OS: macOS(10.14)
  • Browser (if applies) chrome
  • Version of Next.js: 7.0.2

Most helpful comment

I'm upgrading _@zeit/[email protected] to _@zeit/[email protected] and this works for me.

All 4 comments

It may be healed, perhaps.
Because I was building a project I made before.
I'm sorry :(

extract-text-webpack-plugin does not support webpack 4, there is nothing we can do about this in Next.js, so I'm going to close this issue.

I'm upgrading _@zeit/[email protected] to _@zeit/[email protected] and this works for me.

@lvxiaojie that was it for me too.

I just ran npm install @zeit/next-css@latest

Was this page helpful?
0 / 5 - 0 ratings

Related issues

irrigator picture irrigator  Â·  3Comments

flybayer picture flybayer  Â·  3Comments

sospedra picture sospedra  Â·  3Comments

jesselee34 picture jesselee34  Â·  3Comments

lixiaoyan picture lixiaoyan  Â·  3Comments