You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You are lucky that I have been dealing with the same issue and just came across yours. First thing you need to know is that documentation is very very very very poor and doesn't cover all the use cases, so you have to spend time debugging the damn framework, which can be very infuriating because it's supposed to have already been tested.
Fiber doesn't do a good job when it comes to handling the errors reported by the template engines. When fiber starts up, it tries to preload the templates in memory and when it encounters an error, the rest of the templates will not get loaded as fiber will promptly stop loading the templates, and as such, they will not be found when you want to render.
So, make sure that your daily.amber doesn't have errors that may cause the file to be skipped.
You can start by sharing the contents of daily.amber
Hi, I got this message:
and this is my code:
and I have imported these 2 packages:
"github.com/gofiber/fiber/v2"
"github.com/gofiber/template/amber"
Am I doing something wrong?
The text was updated successfully, but these errors were encountered: