Editorial question115.2K views4,883 votes0 answers3,578 following
AI-generatedENOENT error when resolving template paths in production
In Kraken.js, the templates configuration accepts a path to the directory containing view templates. When a relative path is provided, it resolves correctly in the local development environment because the working directory matches the project root. However, in production the working directory may differ, causing the same relative path to resolve to a non-ex