npm install webpack -g
/root/.nvm/versions/node/v11.13.0/bin/webpack -> /root/.nvm/versions/node/v11.13.0/lib/node_modules/webpack/bin/webpack.js
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/webpack/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
+ webpack@4.39.3
added 322 packages from 198 contributors in 64.178s
解决:
fsevent是mac osx系统的,你是在win或者Linux下使用了 所以会有警告,忽略即可
版权声明:《 进行npm install时出现警告信息 》为zhangkang原创文章,转载请注明出处!
最后编辑:2019-8-29 11:08:55