执行create-react-app my-app --typescript
报错 => error postcss@8.2.6: The engine “node” is incompatible with this module. Expected version “^10 || ^12 || >=14”. Got “13.14.0”
翻墙查了很多地方并没有明确说明原因,js引擎报错,估计的node
版本不稳定,小迪上官网重新下载了最新的node稳定版。
或者利用nvm install xxx
安装其他版本即可
如果后续需要版本切换,使用nvm
工具即可。