Unsupported platform for fsevent
2022-06-07 本文已影响0人
测绘男的杂货铺
jenkins 通过dockerfile构建前端项目,报错:
Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
原因:
linux不支持fsevents
解决方案:
RUN npm install -f