firebase / firebase/apphosting-adapters

Can't deploy project

Open
#70 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
478
Forks
1.5k
Avg merge
3d 22h
Merged PRs (30d)
2

Description

Hey guys,
I sadly can't deploy my next.js website to firebase hosting anymore. The same occurs to me when using a new blank project.
Any help would be highly appreciated, since I should have launched the website this week already.

What I did:
command: npx create-next-app@latest
command: firebase login
command: firebase experiments:enable webframeworks
command: firebase init hosting
command: npm run build
(region choosen: europe-west1)
command: firebase deploy

Then I always get the following error in my terminal:
...
i functions: creating Node.js 18 function firebase-frameworks-landingpage-4bbae:ssrlandingpage4bbae(europe-west1)...
⚠ functions: HTTP Error: 400, Could not create Cloud Run service ssrlandingpage4bbae. spec.template.spec.containers.resources.limits.cpu: Invalid value specified for cpu. For the specified value, maxScale may not exceed 10.
Consider running your workload in a region with greater capacity, decreasing your requested cpu-per-instance, or requesting an increase in quota for this region if you are seeing sustained usage near this limit, see https://cloud.google.com/run/quotas. Your project may gain access to further scaling by adding billing information to your account.
⚠ functions: failed to create function projects/landingpage-4bbae/locations/europe-west1/functions/ssrlandingpage4bbae
Failed to create function projects/landingpage-4bbae/locations/europe-west1/functions/ssrlandingpage4bbae

Functions deploy had errors with the following functions:
firebase-frameworks-landingpage-4bbae:ssrlandingpage4bbae(europe-west1)
i functions: cleaning up build files...

Error: There was an error deploying functions
_______
The "firebase --version" is 11.25.3
command "firebase serve" works like expected
For my firebase project I selected the Blaze plan

I uploaded the firebase-debug.log here: https://drive.google.com/file/d/1jF7e7vSxTsK2U-rOMV9cWf3KyuZ8p2Bu/view?usp=sharing

When I did the same in January when I started working on the website everything was still working like expected.

Every help would be highly appreciated. Thank you very much in advance!!!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.