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
If you run the writefreely binary, and you don't have the templates/ or pages/ directories, which both contain .tmpl files, then you get this error message:
main.go:120: load templates: lstat pages: no such file or directory
The error message does not tell you what file or directory is actually missing.
And it is not clear what the user should do to resolve this.
Steps to reproduce (if necessary)
Steps to reproduce the behavior:
Run the writefreely binary without the templates/ and pages/ directories.
Expected behavior
The error message should be more informative:
main.go:120: load templates: the directory for the 'pages/' templates does not exist — should have been at "/the/absolute/path/to/pages"
main.go:120: load templates: the directory for the 'templates/' templates does not exist — should have been at "/the/absolute/path/to//templates"
This was probable cause of #234. In addition to a better error message, instructions for how to resolve could be added to docs somewhere. Example recipe: #234 (comment)
Describe the bug
If you run the
writefreely
binary, and you don't have thetemplates/
orpages/
directories, which both contain.tmpl
files, then you get this error message:The error message does not tell you what file or directory is actually missing.
And it is not clear what the user should do to resolve this.
Steps to reproduce (if necessary)
Steps to reproduce the behavior:
writefreely
binary without thetemplates/
andpages/
directories.Expected behavior
The error message should be more informative:
Application configuration
Version or last commit:
f247479
The text was updated successfully, but these errors were encountered: