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

来源:4-1 webpack配置css单独分离打包

安耀奇

2018-02-28 21:14

终端执行 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://img3.mukewang.com/5a96ab1e0001a39210380287.jpg


写回答 关注

1回答

  • 佘小麦
    2018-03-01 10:48:01

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

Vue+Webpack打造todo应用

用前端最热门框架Vue+最火打包工具Webpack打造todo应用

84606 学习 · 787 问题

查看课程

相似问题