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
Executing docker run --rm leafdoc:latest -h gives me the following:
node:fs:585
handleErrorFromBinding(ctx);
^
Error: ENOENT: no such file or directory, open 'templates/basic/html.hbs'
at Object.openSync (node:fs:585:3)
at Object.readFileSync (node:fs:453:35)
at getTemplate (file:///usr/local/lib/node_modules/leafdoc/src/template.mjs:20:51)
at Leafdoc.outputStr (file:///usr/local/lib/node_modules/leafdoc/src/leafdoc.mjs:508:11)
at file:///usr/local/lib/node_modules/leafdoc/src/cli.mjs:83:12
at ModuleJob.run (node:internal/modules/esm/module_job:197:25)
at async Promise.all (index 0)
at async ESMLoader.import (node:internal/modules/esm/loader:337:24)
at async loadESM (node:internal/process/esm_loader:88:5)
at async handleMainPromise (node:internal/modules/run_main:61:12) {
errno: -2,
syscall: 'open',
code: 'ENOENT',
path: 'templates/basic/html.hbs'
}
I would expect a standard help message. Not a complaint about a template file.
The text was updated successfully, but these errors were encountered:
I was getting this on my local as well. I decided to build a Docker container to test this in isolation.
Here is my docker file
Built with
docker build -f leafdoc.Dockerfile -t leafdoc:latest .
Executing
docker run --rm leafdoc:latest -h
gives me the following:I would expect a standard help message. Not a complaint about a template file.
The text was updated successfully, but these errors were encountered: