# I can't Deploy (An error occurred during the compilation or release process)

**URL:** <https://community.firebasestudio.dev/t/i-cant-deploy-an-error-occurred-during-the-compilation-or-release-process/19891>\
**Category:** General\
**Tags:** troubleshooting, app-hosting\
**Created:** [December 7, 2025, 3:34am UTC](https://community.firebasestudio.dev/t/i-cant-deploy-an-error-occurred-during-the-compilation-or-release-process/19891 "2025-12-07T03:34:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Charlie](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/charlie/32/10644_2.png) [@Charlie](https://community.firebasestudio.dev/u/Charlie)\
**Post date:** [December 7, 2025, 3:34am UTC](https://community.firebasestudio.dev/t/i-cant-deploy-an-error-occurred-during-the-compilation-or-release-process/19891/1 "2025-12-07T03:34:25Z")

</div>

**Failed to publish app**  
**Dec 6, 2025, 8:41:28 PM**  
\*\*Something went wrong in the App Hosting build or rollout process. Look at the logs to see more details.  
\*\*

in the backend app hosting says

Implemented from Firebase Studio  
December 6, 2025, 8:41:28 p.m.  
An error occurred during compilation.  
An error occurred during the compilation or release process. Check the logs for more details.

and when i check the Cloud Build:

* * *

failed to build: (error ID: d8040594):  
{“reason”:“Failed Framework Build”,“code”:“fah/failed-framework-build”,“userFacingMessage”:“Your application failed to run the framework build command ‘npm exec --prefix /layers/google.nodejs.firebasenextjs/npm\_modules apphosting-adapter-nextjs-build’ successfully. Please check the raw log to address the error and confirm that your application builds locally before redeploying.”,“rawLog”:“(error ID: d0a693a9):  
⨯ useSearchParams() should be wrapped in a suspense boundary at page “/404”. Read more: [Missing Suspense boundary with useSearchParams | Next.js](https://nextjs.org/docs/messages/missing-suspense-with-csr-bailout)  
at g (/workspace/.next/server/chunks/700.js:27:41277)  
at m (/workspace/.next/server/chunks/700.js:44:19612)  
at o (/workspace/.next/server/chunks/531.js:1:35165)  
at n3 (/workspace/node\_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:2:82831)  
at n6 (/workspace/node\_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:2:84601)  
at n6 (/workspace/node\_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:2:101560)  
at n5 (/workspace/node\_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:2:104801)  
at n7 (/workspace/node\_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:2:102219)  
at aa (/workspace/node\_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:2:108211)  
at ae (/workspace/node\_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:2:106833)  
Error occurred prerendering page “/\_not-found”.  
Export encountered an error on /\_not-found/page: /\_not-found, exiting the build.  
⨯ Next.js build worker exited with code: 1 and signal: null  
/layers/google.nodejs.firebasenextjs/npm\_modules/node\_modules/@apphosting/common/dist/index.js:64  
reject(new Error(`Build process exited with error code ${code}.`));  
^  
Error: Build process exited with error code 1.  
at ChildProcess. (/layers/google.nodejs.firebasenextjs/npm\_modules/node\_modules/@apphosting/common/dist/index.js:64:24)  
at ChildProcess.emit (node:events:519:28)  
at ChildProcess.\_handle.onexit (node:internal/child\_process:293:12)  
Node.js v22.21.0”}  
ERROR: failed to build: exit status 1  
ERROR: failed to build: executing lifecycle: failed with status code: 51  
Finished Step #3 - “pack”  
ERROR  
ERROR: build step 3 “[gcr.io/k8s-skaffold/pack](http://gcr.io/k8s-skaffold/pack)” failed: step exited with non-zero status: 1

* * *

But the strange thing is that this is happening to me in all of my projects. I already went to the terminal and checked this:

fix-react2shell-next - CVE-2025-66478 vulnerability scanner

📂 Found 1 package.json file(s)

✓ No vulnerable packages found!  
Your project is not affected by CVE-2025-66478.

---

<div class="post-metadata">

**Author:** ![Michael1](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/michael1/32/5784_2.png) [@Michael1](https://community.firebasestudio.dev/u/Michael1)\
**Post date:** [December 7, 2025, 6:50am UTC](https://community.firebasestudio.dev/t/i-cant-deploy-an-error-occurred-during-the-compilation-or-release-process/19891/2 "2025-12-07T06:50:30Z")

</div>

Pretty sure this was the problem I had a few days ago and I solved it by upgrading to Next.js 15.3.6 - now I’m getting build errors again today on publish (7th December) even though I have 15.3.6

---

<div class="post-metadata">

**Author:** ![Geecenta](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/geecenta/32/11822_2.png) [@Geecenta](https://community.firebasestudio.dev/u/Geecenta)\
**Post date:** [December 7, 2025, 8:58am UTC](https://community.firebasestudio.dev/t/i-cant-deploy-an-error-occurred-during-the-compilation-or-release-process/19891/3 "2025-12-07T08:58:13Z")

</div>

I am experiencing the same problem. I developed my apps with agent though.

---

<div class="post-metadata">

**Author:** ![jamesor](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/jamesor/32/5600_2.png) [@jamesor](https://community.firebasestudio.dev/u/jamesor)\
**Post date:** [December 8, 2025, 1:50pm UTC](https://community.firebasestudio.dev/t/i-cant-deploy-an-error-occurred-during-the-compilation-or-release-process/19891/4 "2025-12-08T13:50:47Z")

</div>

@Charlie the error details you’ve shared point to the problem with your app’s build. Because it failed to build it couldn’t be deployed. The error with with a missing suspense boundary needs to be addressed before your project will build. Have you tried copying and pasting this error into your Gemini chat?
