DEV Community

Anurag Roy
Anurag Roy

Posted on

Error: Cannot find module '/path/.next/build-manifest.json'

there are several optional ways.

  • Adding:
"engines": {
    "node": ">=12.x"
  }
Enter fullscreen mode Exit fullscreen mode

on your package.json may work

  • Adding:

sass as dev-dependency in your package.json,
Then, Run

yarn add -D sass

Then

Run yarn remove node-sass

  • Remove .next folder

Top comments (0)