Plese fill the template when you reporting a new issue, thanks!
Which platform are you running AnyProxy
Windows
The version of the AnyProxy
4.0.10
Your expected behavior of AnyProxy
安装成功
The actual behavior of AnyProxy
安装时报错
The log of the error
安装时报错:
npm WARN deprecated clipboard-js@0.3.6: Please migrate to https://github.com/lgarron/clipboard-polyfill
C:\Users\Administrator\AppData\Roaming\npm\anyproxy-ca -> C:\Users\Administrator\AppData\Roaming\npm\node_modules\anyproxy\bin\anyproxy-ca
C:\Users\Administrator\AppData\Roaming\npm\anyproxy -> C:\Users\Administrator\AppData\Roaming\npm\node_modules\anyproxy\bin\anyproxy
npm WARN svg-inline-react@1.0.3 requires a peer of react@^0.14.0 || ^15.0.0 but none is installed. You must install peer dependencies yourself.
7条答案
按热度按时间zed5wv101#
@TitleZWC
这个还不是错误信息,有没有其他信息,安装的最后一步就是这个吗?
bweufnob2#
安装时 -save ,我也是报和楼主一样的错误,win7 64位和 centos 6.5上都试了,都是这样。
nodejs 版本 win7下 V8.11.3 Centos下V9.11.2
npm 版本 win7下V5.6.0 Centos下V5.6.0
centos上的报错:
[root@VM_208_25_centos bin]# npm install anyproxy -g -save
npm WARN deprecated clipboard-js@0.3.6: Please migrate to https://github.com/lgarron/clipboard-polyfill
/root/node-v9.11.2-linux-x64/bin/anyproxy-ca -> /root/node-v9.11.2-linux-x64/lib/node_modules/anyproxy/bin/anyproxy-ca
/root/node-v9.11.2-linux-x64/bin/anyproxy -> /root/node-v9.11.2-linux-x64/lib/node_modules/anyproxy/bin/anyproxy
npm WARN svg-inline-react@1.0.3 requires a peer of react@^0.14.0 || ^15.0.0 but none is installed. You must install peer dependencies yourself.
++ anyproxy@4.0.10
added 241 packages in 14.256s
win7上的报错:
C:\Users\6666\AppData\Roaming\npm>npm install anyproxy -g -save
npm WARN deprecated clipboard-js@0.3.6: Please migrate to https://github.com/lga
rron/clipboard-polyfill
npm WARN notice [SECURITY] uglify-js has the following vulnerability: 2 low. Go
here for more details: https://nodesecurity.io/advisories?search=uglify-js&versi
on=1.2.6 - Run
npm i npm@latest -g
to upgrade your npm version, and thennpm audit
to get more info.D:\tools\nodejs\node_global\anyproxy -> D:\tools\nodejs\node_global\node_modules
\anyproxy\bin\anyproxy
D:\tools\nodejs\node_global\anyproxy-ca -> D:\tools\nodejs\node_global\node_modu
les\anyproxy\bin\anyproxy-ca
npm WARN svg-inline-react@1.0.3 requires a peer of react@^0.14.0 || ^15.0.0 but
none is installed. You must install peer dependencies yourself.
++anyproxy@4.0.10
added 241 packages in 687.878s
ubof19bj3#
Hi @ppp1234
出现warn信息后,安装流程被终止了吗,此时执行 anyproxy的全局命令,会提示什么?
y53ybaqx4#
@codingfishman 安装完以后,执行anyproxy的命令,抓不了包,也没有提示。在网上找到个教程,虽然不太理解是为什么,但是按教程安装后可以用了,貌似是要做一些环境配置。这是那个教程的链接: https://www.jishux.com/p/95748247c58c383e,@ppp1234 你可以参考一下看是否可行。不过有些地方作者有点笔误,看起来应该是因为被转义了。这两个命令:npm configsetprefix"D:Develop odejs ode_global" ,npm configsetcache"D:Develop odejs ode_cache" 实际上应该是:npm config set prefix "D:\Develop\nodejs\node_global",npm config set cache "D:\Develop\nodejs\node_cache"
k10s72fa5#
问题解决了吗 我的也出现这个问题了
ruyhziif6#
这个问题解决了吗?mac下也出现这个问题?
mdfafbf17#
我虽然也出现这个问题,但是成功安装了,感觉好像不影响使用。
输入全局命令如下,可以看到能够正常启动:
@codingfishman