其他分享
首页 > 其他分享> > npm安装过程的报错

npm安装过程的报错

作者:互联网

$ npm install px2rem-loader
npm WARN deprecated natives@1.1.6: This module relies on Node.js's internals and will break at some point. Do not use it, and update to graceful-fs@4.x.

之前版本太旧有问题。所以: npm i graceful-fs

 

npm WARN ajv-keywords@3.4.1 requires a peer of ajv@^6.9.1 but none is installed. You must install peer dependencies yourself.

同样是版本问题: npm i ajv  (或者搜下ajv的最新更新方式)

 

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

 

 

标签:npm,1.2,ajv,WARN,报错,graceful,fsevents,安装
来源: https://www.cnblogs.com/CZheng7/p/12891883.html