【发布时间】:2020-07-03 05:16:27
【问题描述】:
我正在 PROD 环境中部署 ReactJS 项目。 早些时候它工作正常,但现在命令“Yarn install”失败。
遇到错误
info fsevents@1.2.13: The platform "linux" is incompatible with this module.
info "fsevents@1.2.13" is an optional dependency and failed compatibility check. Excluding it from installation.
error chalk@4.1.0: The engine "node" is incompatible with this module. Expected version ">=10".
error Found incompatible module
pacakage.json 中没有任何代码更改
【问题讨论】:
-
错误不言自明?
-
@xMayank 但它在我的本地工作。不在产品上。并具有相同的 nodejs 版本
标签: javascript reactjs npm webpack yarnpkg