Started the vue project today and found that the terminal reported an error:
Cannot read property "upgrade" of undefined: Cannot read undefined "upgrade"
Click the error first location: D:\project\szhbgpt-web\node_modules\webpack-dev-server\ lib\Server.js:135:47 (as shown below:)
proxyConfigOrCallback: Proxy callback configuration
So look at the proxy
solution in vue.config.js to configure the proxy target can not be empty, fill in the interface address to run the project normally