-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
The service does not work at all when setting up a docker container following the instructions in README.md. All requests will return a 500 Internal Server Error with the following error message logged:
The script provided doesn't set the script variable as a valid function.
This is because there is an incorrect implementation of the file /app/scripts/postRender.js. This script does not contain any code.
If I create a file with the following code:
script = function () {}And mount it as a volume to /app/scripts/postRender.js, then everything will work as expected.
Nowhere in the documentation is there any mention that a proper postRender script is strictly required.
I see three possible solutions:
- The file
/app/scripts/postRender.jsshould be removed. The server should be able to start without it. An example file should be placed somewhere else. - The server should not fail if the script is empty.
- An empty default implementation should be made, like the code I used above.
I would suggest the first solution. But if there is any technical aspect that make this tricky, then the other two solutions would also be okay.
Metadata
Metadata
Assignees
Labels
No labels