anyproxy not work with vue-cli

pw136qt2  于 2022-10-25  发布在  其他
关注(0)|答案(2)|浏览(246)

Plese fill the template when you reporting a new issue, thanks!

用vue-cli创建了一个vue应用,在main.js中刚刚引入了require('anyproxy'),无法启动
Uncaught ReferenceError: Invalid left-hand side in assignment
at eval (forge.js?87e6:52)
at eval (forge.js?87e6:94)
at Object../node_modules/node-easy-cert/node_modules/node-forge/js/forge.js (chunk-vendors.js:12567)
atwebpack_require(app.js:854)
at fn (app.js:151)
at eval (certGenerator.js?f9c4:3)
at Object../node_modules/node-easy-cert/dist/certGenerator.js (chunk-vendors.js:12431)
atwebpack_require(app.js:854)
at fn (app.js:151)
at Object.eval (index.js?f34f:8)

Which platform are you running AnyProxy

mac

The version of the AnyProxy

4.1.3

Your expected behavior of AnyProxy
The actual behavior of AnyProxy
The log of the error
ogq8wdun

ogq8wdun1#

貌似是node-forge的问题,他们这个问题在0.7.0以后就修了,我把node-forge删了后,直接更新到最新的就可以了。你这边也可以试一下

相关问题