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

终端执行 npm i extract-text-webpack-plugin 时候报错,求解决办法

终端执行 npm i extract-text-webpack-plugin 时候报错了
报错内容:

npm WARN checkPermissions Missing write access to E:\my-project\vue-TuDolist\node_modules\uglify-js\node_modules\yargs

npm WARN vue-tudolist@1.0.0 No repository field.


npm ERR! path E:\my-project\vue-TuDolist\node_modules\uglify-js\node_modules\yargs

npm ERR! code ENOENT

npm ERR! errno -4058

npm ERR! syscall access

npm ERR! enoent ENOENT: no such file or directory, access 'E:\my-project\vue-TuDolist\node_modules\uglify-js\node_modules\yargs'

npm ERR! enoent This is related to npm not being able to find a file.

npm ERR! enoent


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

npm ERR!     C:\Users\anyao\AppData\Roaming\npm-cache\_logs\2018-02-27T13_17_35_828Z-debug.log
http://img1.sycdn.imooc.com//5a96ab1e0001a39210380287.jpg


正在回答

1 回答

可能是网络原因,用cnpm安装试试

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

举报

0/150
提交
取消

终端执行 npm i extract-text-webpack-plugin 时候报错,求解决办法

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