alibaba / alibaba/anyproxy

not work with vue-cli

Open
#576 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
7.9k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

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)
at __webpack_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)
at __webpack_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

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the macOS failure from the main.js require('anyproxy') import with AnyProxy 4.1.3 and the reported Vue CLI setup. Inspect the generated webpack stack and the node-easy-cert/node-forge path around forge.js?87e6:52; done means the Vue application starts without the reported Invalid left-hand side in assignment error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
build-system, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.