Quando tento acessar uma url que não existe, recebo esse erro no console:
Error: Cannot find module '../app/views/erros/500.marko'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at app.use (C:\Users\ander\Desktop\casa-do-codigo\src\config\custom-express.js:31:57)
at Layer.handle_error (C:\Users\ander\Desktop\casa-do-codigo\node_modules\express\lib\router\layer.js:71:5)
at trim_prefix (C:\Users\ander\Desktop\casa-do-codigo\node_modules\express\lib\router\index.js:315:13)
at C:\Users\ander\Desktop\casa-do-codigo\node_modules\express\lib\router\index.js:284:7
at Function.process_params (C:\Users\ander\Desktop\casa-do-codigo\node_modules\express\lib\router\index.js:335:12)
at next (C:\Users\ander\Desktop\casa-do-codigo\node_modules\express\lib\router\index.js:275:10)
Até o capítulo 3, estava funcionando.
Projeto no GitHub: https://github.com/devanderson-pires/casadocodigo