C:UsersAdministrator>npm install -g anyproxy
npm WARN deprecated clipboard-js@0.3.6: Please migrate to https://github.com/lga
rron/clipboard-polyfill
npm ERR! path C:\Users\Administrator\AppData\Roaming\npm\node_modules\anyproxy\n
ode_modules\npm\node_modules\ansistyles
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall rename
npm ERR! enoent ENOENT: no such file or directory, rename 'C:\Users\Administrato
r\AppData\Roaming\npm\node_modules\anyproxy\node_modules\npm\node_modules\ansist
yles' -> 'C:\Users\Administrator\AppData\Roaming\npm\node_modules\anyproxy\node_
modules\npm\node_modules\.ansistyles.DELETE'
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\Administrator\AppData\Roaming\npm-cache\_logs\2018-01-30T0
6_27_37_234Z-debug.log
用npm安装anyproxy报错,已经按照报错信息添加了path,还是不行。
我也是一样的问题,mac 上安装报错
npm install anyproxy
npm WARN deprecated clipboard-js@0.3.6: Please migrate to https://github.com/lgarron/cl...
npm WARN proxy-rules No description
npm WARN proxy-rules No repository field.
npm WARN proxy-rules No license field.
added 363 packages in 15.675s
npm install clipboard-polyfill
npm WARN proxy-rules No description
npm WARN proxy-rules No repository field.
npm WARN proxy-rules No license field.
npm ERR! path /Users/liz/mas/proxy-rules/node_modules/npm/node_modules/ansistyles
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall rename
npm ERR! enoent ENOENT: no such file or directory, rename '/Users/liz/mas/proxy-rules/node_modules/npm/node_modules/ansistyles' -> '/Users/liz/mas/proxy-rules/node_modules/npm/node_modules/.ansistyles.DELETE'
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! /Users/liz/.npm/_logs/2018-03-19T08_50_15_279Z-debug.log
也是绝望。。。