[▲ Vercel Community](/) · [Categories](/categories) · [Latest](/latest) · [Top](/top) · [Live](/live) [v0](/c/v0/59) # "Error: Command "bun run build" exited with 1." 201 views · 0 likes · 2 posts GABRYELLZS (@gabrielsp680-1467) · 2025-06-10 @pawlean @jacobparis after updating [v0.dev](https://v0.dev) every time I try to deploy I get this ``` error Error occurred prerendering page "/_not-found". Read more: https://nextjs.org/docs/messages/prerender-error 02:54:00 ReferenceError: localStorage is not defined 02:54:00 at new f (/vercel/path1/.next/server/chunks/692.js:1:4963) 02:54:00 at f.getInstance (/vercel/path1/.next/server/chunks/692.js:1:5063) 02:54:00 at 36765 (/vercel/path1/.next/server/chunks/692.js:1:7611) 02:54:00 at Object.t [as require] (/vercel/path1/.next/server/webpack-runtime.js:1:128) 02:54:00 at require (/vercel/path1/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:133:10079) 02:54:00 at u (/vercel/path1/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:92:646) 02:54:00 at U (/vercel/path1/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:92:10492) 02:54:00 at T (/vercel/path1/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:92:8541) 02:54:00 at rI (/vercel/path1/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:76:33106) 02:54:00 at nq (/vercel/path1/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:76:65205) 02:54:00 Export encountered an error on /_not-found/page: /_not-found, exiting the build. 02:54:00 ⨯ Next.js build worker exited with code: 1 and signal: null 02:54:00 error: script "build" exited with code 1 02:54:00 Error: Command "bun run build" exited with 1. ``` I've tried every type of prompt, I asked it to go back to how it was before when it deployed without error, but it still doesn't work. I've tried everything, can you help me with this? Pauline P. Narvas (@pawlean) · 2025-06-11 Have you got any chat examples for us to try and replicate?