šŸ‘‹ Next.js Conf 2024: Come build, party, run, and connect with us! See all events

Error: The upstream server is timing out. How to fix this?

8 replies
Last updated: Feb 2, 2024
Hi, I want to start build project in sanity with npm -y create sanity@latest, but after trying many times this error keeps appearing, how to fix this?

Error: The upstream server is timing out _at onResponse (C:/Users/ADMIN/AppData/Local/npm-cache/_npx/67a0730928194b24/node_modules/@sanity/cli/lib/_chunks/loadEnv-NFU3msTN.js
:1652:13)_ _at applyMiddleware (C
:/Users/ADMIN/AppData/Local/npm-cache/_npx/67a0730928194b24/node_modules/get-it/dist/index.cjs:53:13)_ _at onResponse (C
:/Users/ADMIN/AppData/Local/npm-cache/_npx/67a0730928194b24/node_modules/get-it/dist/index.cjs:118:22)_ _at C
:/Users/ADMIN/AppData/Local/npm-cache/_npx/67a0730928194b24/node_modules/get-it/dist/index.cjs:141:55_ _at callback (C
:/Users/ADMIN/AppData/Local/npm-cache/_npx/67a0730928194b24/node_modules/get-it/dist/index.cjs:521:46)_ _at C
:/Users/ADMIN/AppData/Local/npm-cache/_npx/67a0730928194b24/node_modules/get-it/dist/index.cjs:588:14_ _at DestroyableTransform.
anonymous (C:/Users/ADMIN/AppData/Local/npm-cache/_npx/67a0730928194b24/node_modules/get-it/dist/index.cjs:273:7)_
at Object.onceWrapper (node628:28)
at DestroyableTransform.emit (node526:35) _at endReadableNT (C
:/Users/ADMIN/AppData/Local/npm-cache/_npx/67a0730928194b24/node_modules/readable-stream/lib/_stream_readable.js:1010:12)_
Feb 1, 2024, 4:05 AM
I am having this same issue right now.
Feb 1, 2024, 4:08 AM
I had this error after Sanity update, I try to uninstall and install again, logout and login again but nothing changes šŸ˜ž
Are you to
user G
?
Feb 1, 2024, 5:04 AM
Same problem yeah :( hope it resolves soon
Feb 1, 2024, 5:21 AM
same problem here, so is saniity end problem?
Feb 1, 2024, 7:15 AM
The problem has been fix!
Feb 1, 2024, 9:47 AM
Glad to hear the issue has been resolved for you,
user G
- thanks for confirming! I hope the same is true for both of you,
user G
and
user H
.
Feb 1, 2024, 10:01 AM
user M
yeah it is successful now! Thanks Peter
Feb 2, 2024, 4:14 AM
All better for me as well!
Feb 2, 2024, 4:30 AM

Sanityā€“ build remarkable experiences at scale

Sanity is a modern headless CMS that treats content as data to power your digital business. Free to get started, and pay-as-you-go on all plans.

Was this answer helpful?