This is as far as I got and the error message I’d expect to see on localhost
right now
https://stackblitz.com/edit/node-txhs9w?devtoolsheight=33&file=.eleventy.js
This is as far as I got and the error message I’d expect to see on localhost
right now
https://stackblitz.com/edit/node-txhs9w?devtoolsheight=33&file=.eleventy.js
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
Here's a repo: https://github.com/robdodson/eleventy-serverless-firebase
I did find one issue though, the _data
directory does not seem to work. It works when I do a static build, but not when I let the function render it. I can see that the _data directory is being copied over to the right place, so I'm not sure what's up.
Serverless and Firebase Functions. #1866
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: