-
-
Notifications
You must be signed in to change notification settings - Fork 493
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
Serverless and Firebase Functions. #1866
Comments
This is as far as I got and the error message I’d expect to see on https://stackblitz.com/edit/node-txhs9w?devtoolsheight=33&file=.eleventy.js |
The localhost experience (right now) expects a |
oh it looks like the stackblitz project is gone (or maybe it's private?) In my code I did have a handler function in functions/possum/index.js. Unfortunately github gists don't let me show subdirectories so I tried to add the directory paths as comments at the top of the files. |
Ah sorry about that! I renamed it https://stackblitz.com/edit/robs-firebase-test |
Oh, so the function literally needs to be named |
Here's a repo: https://github.com/robdodson/eleventy-serverless-firebase I did find one issue though, the |
Stale per project slipstream changes in #3074. |
Describe the bug
I'm trying to get eleventy serverless working with firebase functions. I think I've set everything up correctly, but when I visit my function I get a Node error saying that it can't find
eleventy-serverless-map.json
.To Reproduce
Steps to reproduce the behavior:
I put together a gist to show my structure:
https://gist.github.com/robdodson/e223a02a02859d28d555229cd9a73245
Expected behavior
A clear and concise description of what you expected to happen.
When I visit
/possum/
I shouldn't see an error.Actual behavior
I get the following error
Environment:
The text was updated successfully, but these errors were encountered: