Closed jonathan-chin closed 5 years ago
@jonathan-chin did you solve this ? I'm facing the same issue running my code in AWS' elastic beanstalk.
EDIT : for anyone also struggling with this, my issue had nothing to do with this package. The problem I had was that I forgot to copy my template folder when creating the docker image I use to deploy my application in the cloud. Hence, why it worked locally, but not in AWS' environment.
I'm having template directory issues when executing from Firebase Functions. I'm guessing there's some conflict in the relative pathing. I have some basic code in a js file:
When I run this from the command line (eg
node test.js
), it works perfectly. But when I put it into a Firebase Function function, I get:I've tried multiple variations of editing the views root but the problem persists: ok when running as a standalone script but 'does not exist' error when running in a Firebase Function