为了账号安全,请及时绑定邮箱和手机立即绑定

npm install 问题求助

> uglifyjs-webpack-plugin@0.4.6 postinstall C:\Users\94905\es6-webpack\node_modules\uglifyjs-webpack-plugin                                                     > node lib/post_install.js                                                                                                                                      'node' ▒▒▒▒▒ڲ▒▒▒▒ⲿ▒▒▒Ҳ▒▒▒ǿ▒▒▒▒еij▒▒▒                                            ▒▒▒▒▒▒▒▒▒ļ▒▒▒                                                                   npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.3 (node_modules\fsevents):                                                                         npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})                                                                                                                                                               npm ERR! code ELIFECYCLE                                                        npm ERR! errno 1                                                                npm ERR! uglifyjs-webpack-plugin@0.4.6 postinstall: `node lib/post_install.js`  npm ERR! Exit status 1                                                          npm ERR!                                                                        npm ERR! Failed at the uglifyjs-webpack-plugin@0.4.6 postinstall script.        npm ERR! This is probably not a problem with npm. There is likely additional logging output above.                                                                                                                                              npm ERR! A complete log of this run can be found in:                            npm ERR!     C:\Users\94905\AppData\Roaming\npm-cache\_logs\2019-01-24T12_57_22_928Z-debug.log

 


正在回答

2 回答

安装的是11.7.0的node.js

0 回复 有任何疑惑可以回复我~

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.3 (node_modules\fsevents):

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


npm ERR! code ELIFECYCLE

npm ERR! errno 1

npm ERR! uglifyjs-webpack-plugin@0.4.6 postinstall: `node lib/post_install.js`

npm ERR! Exit status 1

npm ERR!

npm ERR! Failed at the uglifyjs-webpack-plugin@0.4.6 postinstall script.

npm ERR! This is probably not a problem with npm. There is likely additional logging output above.


npm ERR! A complete log of this run can be found in:

npm ERR!     C:\Users\94905\AppData\Roaming\npm-cache\_logs\2019-01-24T12_57_22_928Z-debug.log


0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消
ES6快速入门
  • 参与学习       64240    人
  • 解答问题       137    个

用最通俗、形象的方法描述ES6的强大并教会你正确的学习方法。

进入课程

npm install 问题求助

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信