Error: No default engine was specified and no extension was provided.
See original GitHub issueIssue 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:
- Created 6 years ago
- Reactions:5
- Comments:11 (5 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You can manually sort this out by copying
current/core/server/admin/views/default-prod.html
tocurrent/core/server/admin/views/default.html
and restart Ghost viaghost restart
.1.5.0
was released.