This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Fetch failed: AggregateError [ETIMEDOUT] on Node.js 20 #70095
Labels
bug
Issue was opened via the bug report template.
Output (export/standalone)
Related to the the output option in `next.config.js`.
Link to the code that reproduces this issue
https://github.com/raky291/pokedex
To Reproduce
Current vs. Expected behavior
I'm expecting it to perform fetch requests correctly like it does in the development (next dev) or production (next start) environment but it throws errors.
Provide environment information
Which area(s) are affected? (Select all that apply)
Output (export/standalone)
Which stage(s) are affected? (Select all that apply)
Other (Deployed)
Additional context
I have Node version 20 installed on my machine. In development (next dev) and production (next start) it works fine. But with Docker (standalone) it throws errors. It's weird because with version 20 in Docker if you make a single fetch request it works.
I had to downgrade the Node version to 18 to fix the issue.
The text was updated successfully, but these errors were encountered: