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安装过程的报错之前版本太旧有问题。所以: 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安装过程的报错

 

上一篇:日志级别


下一篇:CentOS-7 搭建 Ant Design Pro