Closed dazzypark closed 2 weeks ago
Interesting, someone else also got the error, the error says undici, but i'm not using undici anymore
I did some investings, could you please do the following:
send me the result of npm ls
Temp solution-try:
npm cache clean --force
rm node_modules -rf
npm i
I assume it's due to some weird global overwriting cause you can see it uses pnpm? don't use pnpm
to clear pnpm store cache you can use pnpm store prune
https://nodejs.org/en/blog/vulnerability/july-2024-security-releases stated here the internal library for fetch is undici, that could be why it's a undici error
you can declare a requestTimoutMS option per node option which will add a AbortSignal.Timeout to the fetch request, so the request was aborted due to a timeout error appears either earlier or later.
The error indicates it tried to do a request and couldn't get a result after X ms.
You are right
Versions prior to 2.2.0 also resulted in intermittent 'connection timeout' errors. So I blacklisted the "Connection timed out" error. However, as the 'undici' version changed, the error content also changed, so the error seems to have occurred again.
“Connection timed out” errors can be caused by Internet conditions or temporary server issues.
I didn't check properly. thank you for your help :)
An error occurs intermittently after upgrading to version 2.2.0. It seems that an error occurred because of the photo below.
My node version: v20.15.0
If you downgrade to version 2.1.7, the error will not occur.
Thank you for creating the library
(It may be awkward because we used Google Translator)