there are several optional ways.
"engines": { "node": ">=12.x" }
on your package.json may work
sass as dev-dependency in your package.json,
Then, Run
yarn add -D sass
Then
Run yarn remove node-sass
- Remove .next folder
there are several optional ways.
"engines": { "node": ">=12.x" }
on your package.json may work
sass as dev-dependency in your package.json,
Then, Run
yarn add -D sass
Then
Run yarn remove node-sass