Closed jlarmstrongiv closed 1 year ago
You're not wrong 😅
I never thought about it because it hasn't happened to me yet.
I’ve been building my own personal monorepo with several packages and apps—unfortunately, typesync crashes with that error more than it passes 😅
I saw https://github.com/jeffijoe/typesync/blob/master/src/npm-client.ts and think something like https://www.npmjs.com/package/axios-retry could fit nicely
I've been meaning to swap out axios for [npm-registry-fetch](https://github.com/npm/npm-registry-fetch)
which I believe may include retries, but not sure.
I haven't had time to work on OSS for a while though.
It seems that typesync experiences intermittent connection issues often. Having a system to back off and retry would be nice.