Can not run register command
crazywoola opened this issue · 2 comments
crazywoola commented
~/Workspace/cloudflare-sample-app/ npm run register
> awwbot@1.0.0 register
> node src/register.js
node:internal/deps/undici/undici:14152
Error.captureStackTrace(err, this);
^
TypeError: fetch failed
at Object.fetch (node:internal/deps/undici/undici:14152:11)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async file:///Users/minibanana/Workspace/cloudflare-sample-app/src/register.js:31:18 {
cause: Error: read ECONNRESET
at TLSWrap.onStreamRead (node:internal/stream_base_commons:217:20) {
errno: -54,
code: 'ECONNRESET',
syscall: 'read'
}
}
Node.js v18.14.0
JustinBeckwith commented
Greetings! This looks like a pretty generic network error....
- Does this happen when you try it again?
- Do you happen to know if you're behind some kind of proxy?
crazywoola commented
Yes, it is a network error. So I deployed to a different zone, it works, but it's hard to dev on local machine. Seems no way to bypass this error with or without VPN.