Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No default engine error #1432

Open
mdtausifiqbal opened this issue Jan 23, 2023 · 1 comment
Open

No default engine error #1432

mdtausifiqbal opened this issue Jan 23, 2023 · 1 comment

Comments

@mdtausifiqbal
Copy link

Please resolve this error

Error: No default engine was specified and no extension was provided.
    at new NunjucksView (H:\Projects\blog app\node_modules\nunjucks\src\express-app.js:13:13)
    at Function.render (H:\Projects\blog app\node_modules\express\lib\application.js:587:12)
    at ServerResponse.render (H:\Projects\blog app\node_modules\express\lib\response.js:1039:7)
    at H:\Projects\blog app\server.js:19:9
    at Layer.handle [as handle_request] (H:\Projects\blog app\node_modules\express\lib\router\layer.js:95:5)
    at next (H:\Projects\blog app\node_modules\express\lib\router\route.js:144:13)
    at Route.dispatch (H:\Projects\blog app\node_modules\express\lib\router\route.js:114:3)
    at Layer.handle [as handle_request] (H:\Projects\blog app\node_modules\express\lib\router\layer.js:95:5)
    at H:\Projects\blog app\node_modules\express\lib\router\index.js:284:15
    at Function.process_params (H:\Projects\blog app\node_modules\express\lib\router\index.js:346:12)
@webketje
Copy link

webketje commented Nov 2, 2023

As your stack trace indicates, this error is caused by a user misconfiguration in express (app.set('view engine')). This issue can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants