Skip to content

Instantly share code, notes, and snippets.

@ErisDS

ErisDS/error.txt Secret

Created June 7, 2016 19:30
Show Gist options
  • Save ErisDS/0ce509aa1fd07f5c1fa12079b200e1d8 to your computer and use it in GitHub Desktop.
Save ErisDS/0ce509aa1fd07f5c1fa12079b200e1d8 to your computer and use it in GitHub Desktop.
Error when rendering a 404 before loading anything else after restart
Error: Cannot find module 'hbs'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at new View (/Users/hannah/Ghost/Ghost/node_modules/express/lib/view.js:78:30)
at EventEmitter.render (/Users/hannah/Ghost/Ghost/node_modules/express/lib/application.js:569:12)
at ServerResponse.render (/Users/hannah/Ghost/Ghost/node_modules/express/lib/response.js:961:7)
at renderErrorInt (/Users/hannah/Ghost/Ghost/core/server/errors/index.js:323:36)
at Object.errors.renderErrorPage (/Users/hannah/Ghost/Ghost/core/server/errors/index.js:361:16)
at Object.errors.error404 (/Users/hannah/Ghost/Ghost/core/server/errors/index.js:370:18)
at Object.errors.error500 (/Users/hannah/Ghost/Ghost/core/server/errors/index.js:384:25)
at Layer.handle_error (/Users/hannah/Ghost/Ghost/node_modules/express/lib/router/layer.js:71:5)
at trim_prefix (/Users/hannah/Ghost/Ghost/node_modules/express/lib/router/index.js:310:13)
at /Users/hannah/Ghost/Ghost/node_modules/express/lib/router/index.js:280:7
at Function.process_params (/Users/hannah/Ghost/Ghost/node_modules/express/lib/router/index.js:330:12)
at next (/Users/hannah/Ghost/Ghost/node_modules/express/lib/router/index.js:271:10)
at Layer.handle_error (/Users/hannah/Ghost/Ghost/node_modules/express/lib/router/layer.js:67:12)
at trim_prefix (/Users/hannah/Ghost/Ghost/node_modules/express/lib/router/index.js:310:13)
at /Users/hannah/Ghost/Ghost/node_modules/express/lib/router/index.js:280:7
at Function.process_params (/Users/hannah/Ghost/Ghost/node_modules/express/lib/router/index.js:330:12)
at next (/Users/hannah/Ghost/Ghost/node_modules/express/lib/router/index.js:271:10)
at Layer.handle_error (/Users/hannah/Ghost/Ghost/node_modules/express/lib/router/layer.js:67:12)
at trim_prefix (/Users/hannah/Ghost/Ghost/node_modules/express/lib/router/index.js:310:13)
at /Users/hannah/Ghost/Ghost/node_modules/express/lib/router/index.js:280:7
at Function.process_params (/Users/hannah/Ghost/Ghost/node_modules/express/lib/router/index.js:330:12)
at next (/Users/hannah/Ghost/Ghost/node_modules/express/lib/router/index.js:271:10)
at Layer.handle_error (/Users/hannah/Ghost/Ghost/node_modules/express/lib/router/layer.js:67:12)
at trim_prefix (/Users/hannah/Ghost/Ghost/node_modules/express/lib/router/index.js:310:13)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment