Vite7 server proxy AggregateError [ETIMEDOUT] #20403
Unanswered
jackqiu0123
asked this question in
Q&A
Replies: 1 comment
-
|
add this in your vite api proxy config, the reason should be your network don't support ipv6 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
Node v22.12
Vite 7.0.4
本地启动开发,proxy报错,如下图所示
package.json
Reproduction
https://stackblitz.com/edit/vitejs-vite-mxh9fcml?file=src%2Frequest.js,package.json,vite.config.js,src%2Fmain.jsx,src%2FApp.jsx,src%2FApp.css,index.html,yarn.lock&terminal=dev
Steps to reproduce
yarn
yarn dev
https://dev.xxx.com/
System Info
System: OS: macOS 15.5 CPU: (8) arm64 Apple M1 Pro Memory: 133.55 MB / 16.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 22.12.0 - ~/.nvm/versions/node/v22.12.0/bin/node Yarn: 1.22.22 - /opt/homebrew/bin/yarn npm: 10.9.0 - ~/.nvm/versions/node/v22.12.0/bin/npm pnpm: 10.12.4 - /opt/homebrew/bin/pnpm Browsers: Brave Browser: 108.1.46.144 Chrome: 138.0.7204.101 Chrome Canary: 140.0.7288.0 Safari: 18.5 npmPackages: @vitejs/plugin-basic-ssl: ^2.1.0 => 2.1.0 @vitejs/plugin-react: ^4.5.2 => 4.6.0 vite: ^7.0.2 => 7.0.4Used Package Manager
yarn
Logs
No response
Validations
Beta Was this translation helpful? Give feedback.
All reactions