It’s good to be part of this community. I’ve been using Netlify for a while now, but today I got stuck on some problems I will detail below. Any help is greatly appreciated.
What I’m trying to do: a serverless express app with handlebars view engine.
The redirects seem to be broken. I have this repo, which is a fork of this one. I’ve added some redirect rules in
netlify.tomlthat do not work. The strangest thing is that the same redirect rules work just fine when i run
netlify devfrom my machine. My netlify instance is https://netlify-express-handlebars.netlify.com. The new route is
On the “long” route,
/.netlify/functions/server/foo, the view engine is not working. From the function logs I get this message:
Error: Failed to lookup view "foo" in views directory "/var/task/views". This also works on my local machine, when I run
netlify dev. Any ideas?
Have a wonderful day!