Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy server to firebase functions #101

Open
5 tasks done
kucherenko opened this issue Sep 15, 2023 · 0 comments
Open
5 tasks done

Deploy server to firebase functions #101

kucherenko opened this issue Sep 15, 2023 · 0 comments

Comments

@kucherenko
Copy link

Describe the bug

I'm trying to deploy the server to the Firebase function with the following command:

NITRO_PRESET=firebase pnpm build && firebase deploy --only functions

firebase.json:

{
  "functions": {
    "runtime": "nodejs18",
    "source": ".output/server"
  }
}

But can't set up memory limit, function generation type, and execution timeout.

Reproduction

create firebase configuration and try to deploy it to firebase

System Info

System:
    OS: macOS 13.5.2
    CPU: (8) arm64 Apple M1
    Memory: 71.08 MB / 8.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.17.1 - ~/.nvm/versions/node/v18.17.1/bin/node
    npm: 9.6.7 - ~/.nvm/versions/node/v18.17.1/bin/npm
    pnpm: 8.7.5 - ~/.nvm/versions/node/v18.17.1/bin/pnpm
  Browsers:
    Chrome: 116.0.5845.187
    Safari: 16.6

Used Package Manager

pnpm

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant