-
-
Notifications
You must be signed in to change notification settings - Fork 335
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
Deploying nuxt app over netlify edge functions throws error at build #1284
Comments
came across firebase/firebase-admin-node#1801, seems like the firebase team is not planning to add support for edge runtimes anytime soon I think this might be worth mentioning in the documentation, could save up some hunting time for people. Happy to create a PR if needed! |
i think this would be better suited to be in https://github.com/unjs/unenv related: unjs/unenv#54 |
I'm having trouble getting a Nuxt app that uses Firebase to deploy using Netlify Edge. From what I read in this thread, it seems that using |
Yes I suppose, as per the issue I linked from the firebase-admin repo, another issue comment, it seems like the firebase-admin team is not planning to add edge support soon. You can still use client side firebase features with SSR disabled afaik |
@posva or anyone: Since we can't use Nuxt Vuefire on an Edge Function runtime, is there a way we can somehow still check for a user in middleware? For instance, in the docs you have this:
But that won't work on Edge runtimes because I think that Seeking guidance. Thank you. |
Reproduction
repo is private, can give access to the repository if needed
Steps to reproduce the bug
nuxt-vuefire
modulessr
is not set to falsenetlify-edge
/cloudflare-pages
channelThis is how I configured my application
Expected behavior
The build should be completed without any issues.
Actual behavior
The build fails with the following stack:
Additional information
The documentation mentions that SSR is partially supported, and to open an issue if we find any.
It is also noteworthy that the 2022 roadmap (#1241) mentions to explore other channels such as netlify and vercel.
I was able to build the application by removing
nuxt-vuefire
from nuxt modules, so the issue is from this module only.The text was updated successfully, but these errors were encountered: