question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error: No default engine was specified and no extension was provided.

See original GitHub issue

Issue Summary

can’t access admin home (/ghost) after fresh install 1.4.0 detail error message (it is printed in web browser):

Error: No default engine was specified and no extension was provided.
    at new View (/home/seungha/ghost-test/versions/1.4.0/node_modules/express/lib/view.js:62:11)
    at EventEmitter.render (/home/seungha/ghost-test/versions/1.4.0/node_modules/express/lib/application.js:570:12)
    at ServerResponse.render (/home/seungha/ghost-test/versions/1.4.0/node_modules/express/lib/response.js:971:7)
    at HTMLErrorRender (/home/seungha/ghost-test/versions/1.4.0/core/server/middleware/error-handler.js:86:9)
    at Layer.handle_error (/home/seungha/ghost-test/versions/1.4.0/node_modules/express/lib/router/layer.js:71:5)
    at trim_prefix (/home/seungha/ghost-test/versions/1.4.0/node_modules/express/lib/router/index.js:315:13)
    at /home/seungha/ghost-test/versions/1.4.0/node_modules/express/lib/router/index.js:284:7
    at Function.process_params (/home/seungha/ghost-test/versions/1.4.0/node_modules/express/lib/router/index.js:335:12)
    at next (/home/seungha/ghost-test/versions/1.4.0/node_modules/express/lib/router/index.js:275:10)
    at prepareError (/home/seungha/ghost-test/versions/1.4.0/core/server/middleware/error-handler.js:58:5)
    at Layer.handle_error (/home/seungha/ghost-test/versions/1.4.0/node_modules/express/lib/router/layer.js:71:5)
    at trim_prefix (/home/seungha/ghost-test/versions/1.4.0/node_modules/express/lib/router/index.js:315:13)
    at /home/seungha/ghost-test/versions/1.4.0/node_modules/express/lib/router/index.js:284:7
    at Function.process_params (/home/seungha/ghost-test/versions/1.4.0/node_modules/express/lib/router/index.js:335:12)
    at next (/home/seungha/ghost-test/versions/1.4.0/node_modules/express/lib/router/index.js:275:10)
    at Layer.handle_error (/home/seungha/ghost-test/versions/1.4.0/node_modules/express/lib/router/layer.js:67:12)
    at trim_prefix (/home/seungha/ghost-test/versions/1.4.0/node_modules/express/lib/router/index.js:315:13)
    at /home/seungha/ghost-test/versions/1.4.0/node_modules/express/lib/router/index.js:284:7
    at Function.process_params (/home/seungha/ghost-test/versions/1.4.0/node_modules/express/lib/router/index.js:335:12)
    at next (/home/seungha/ghost-test/versions/1.4.0/node_modules/express/lib/router/index.js:275:10)
    at /home/seungha/ghost-test/versions/1.4.0/node_modules/express/lib/response.js:424:7
    at SendStream.onerror (/home/seungha/ghost-test/versions/1.4.0/node_modules/express/lib/response.js:1003:5)

and after I upgraded Ghost from 1.1.0 to 1.4.0, it showed 404 page.

Technical details:

  • Ghost Version: 1.4.0
  • Node Version: 6.11.1
  • Browser/OS: Manjaro
  • Database: SQLite3

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:5
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

10reactions
kirrg001commented, Aug 2, 2017

You can manually sort this out by copying current/core/server/admin/views/default-prod.html to current/core/server/admin/views/default.html and restart Ghost via ghost restart.

2reactions
kirrg001commented, Aug 3, 2017

1.5.0 was released.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error: No default engine was specified and no extension was ...
I started off reading on node.js, thinking it was all I needed but when I still couldn't get my pages displaying, I looked...
Read more >
I need help with this guys. Error: No default engine was ...
“Error: No default engine was specified and no extension was provided.” I get this whenever I try to render an ejs file or...
Read more >
Error: No default engine was specified and no ... - GitHub
This is an error straight from JavaScript itself because req.body is undefined. This is because you never setup anything to actually populate ...
Read more >
No default engine was specified and no extension was provided.
Am working on deploying an app in AWS, my elastic beanstack is getting a health check error, " No default engine was specified...
Read more >
No default engine was specified and no extension was provided
The res.render stuff will throw an error if you're not using a view engine. If you just want to serve json replace the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found