Build error E500 KV GET failed: 401
Answered
Chestnut-sided Warbler posted this in #help-forum
Chestnut-sided WarblerOP
I am trying to deploy to vercel but getting this error.
It is a basic client side app no env file no nothing.
[23:10:36.412] Running build in Washington, D.C., USA (East) – iad1 (Hive)
[23:10:36.971] Cloning github.com/qublaidev/css-gradient-generator (Branch: main, Commit: 5e03871)
[23:10:36.980] Skipping build cache, deployment was triggered without cache.
[23:10:37.431] Cloning completed: 459.182ms
[23:10:37.645] Running "vercel build"
[23:10:38.165] Vercel CLI 32.4.1
[23:10:38.492] Installing dependencies...
[23:11:52.774] npm ERR! code E500
[23:11:52.775] npm ERR! 500 Internal Server Error - GET https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.2.0.tgz - KV GET failed: 401 Unauthorized
[23:11:52.777]
[23:11:52.777] npm ERR! A complete log of this run can be found in: /vercel/.npm/_logs/2023-10-30T20_10_38_811Z-debug-0.log
[23:11:52.795] Error: Command "npm install" exited with 1
It is a basic client side app no env file no nothing.
[23:10:36.412] Running build in Washington, D.C., USA (East) – iad1 (Hive)
[23:10:36.971] Cloning github.com/qublaidev/css-gradient-generator (Branch: main, Commit: 5e03871)
[23:10:36.980] Skipping build cache, deployment was triggered without cache.
[23:10:37.431] Cloning completed: 459.182ms
[23:10:37.645] Running "vercel build"
[23:10:38.165] Vercel CLI 32.4.1
[23:10:38.492] Installing dependencies...
[23:11:52.774] npm ERR! code E500
[23:11:52.775] npm ERR! 500 Internal Server Error - GET https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.2.0.tgz - KV GET failed: 401 Unauthorized
[23:11:52.777]
[23:11:52.777] npm ERR! A complete log of this run can be found in: /vercel/.npm/_logs/2023-10-30T20_10_38_811Z-debug-0.log
[23:11:52.795] Error: Command "npm install" exited with 1
Answered by Marchy
That's quite a few libraries for next, but also NPM was down for a moment. You might be able to try again now
4 Replies
looks like you're getting an auth error with @ungap/structured-clone, but I'm not sure what that's used for
Chestnut-sided WarblerOP
Yes, I don't know what it is for too. I am using shadcn + popperjs + tailwind and nothing else basically
That's quite a few libraries for next, but also NPM was down for a moment. You might be able to try again now
Answer
Chestnut-sided WarblerOP
Yep, it is fixed now, thank you