-
Notifications
You must be signed in to change notification settings - Fork 83
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
Error: No default engine was specified and no extension was provided. #7
Comments
same thing happened for me |
Me.. Too.. |
I had this issue and fixed with these two lines in app.js: app.engine('html', require('ejs').renderFile); There may be a better solution, as I am new to the MEAN stack myself. The only issue I am having now with this tutorial is any manual refresh of the browser or manual typing of urls bypasses the angular routes and tries to use the node routes. I've read a few posts about fixing this, but would love to see what didinj's solution would be. |
I also had this issue and found a fix for that, just add below code in app.js
after this code
Above we are just defining the routes for each link. |
Please I am having same error, I dont know whyyy |
add last line too as mentioned below with commenets |
I created new login component i add routes for login but when try to run this page i am getting No default engine was specified and no extension was provided.can you please help me out if i want to add new pages what can i do help me
The text was updated successfully, but these errors were encountered: