当我使用 yarn 安装 next 时,终端出现如下 warning
error postcss@8.1.1: The engine "node" is incompatible with this module. Expected version "^10 || ^12 || >=14". Got "13.12.0"
明显是 node 版本不对,可以切换 node 版本,但是我的解决方案是直接忽视 engine
yarn add next react react-dom --ignore-engines
done.