Open matt-peck opened 4 years ago
I have not tested this, is it possible something else during packaging is causing the views folder to be unavailable?
I feel like that is likely but I'm just a bit out of my depth. Can you point me in the right direction?
I guess the first step would be to run serverless package
and then cd .serverless
and unzip {xyz}.zip
where xyz is the name of your service - I would look in the unzipped contents to see if they match.
Thanks!
How did you make out? Is this issue ok to close?
Does this support Express' ability to render view template files?
When I run the express app locally, it works fine as expected. When I run it using the serverless wrapped version without attempting to res.render() and set express to use the view engine, it also works fine as expected.
However, the moment I attempt to use the view engine (and others) I started have path and directory issues and the app can't seem to find my views folder.