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

500 error after installed #5

Closed
ghost opened this issue Mar 24, 2014 · 2 comments
Closed

500 error after installed #5

ghost opened this issue Mar 24, 2014 · 2 comments

Comments

@ghost
Copy link

ghost commented Mar 24, 2014

I got 500 error code and following error infos

500 Error: /var/www/site/myblog/views/layout.jade:1 > 1| !!! 2| html 3| head 4| title= title !!! is deprecated, you must now use doctype

1| !!!
2| html
3| head
4| title= title
!!! is deprecated, you must now use doctype
at Object.Lexer.doctype (/var/www/site/myblog/node_modules/jade/lib/lexer.js:249:13)
at Object.Lexer.next (/var/www/site/myblog/node_modules/jade/lib/lexer.js:846:15)
at Object.Lexer.lookahead (/var/www/site/myblog/node_modules/jade/lib/lexer.js:114:46)
at Parser.lookahead (/var/www/site/myblog/node_modules/jade/lib/parser.js:100:23)
at Parser.peek (/var/www/site/myblog/node_modules/jade/lib/parser.js:77:17)
at Parser.parse (/var/www/site/myblog/node_modules/jade/lib/parser.js:115:26)
at parse (/var/www/site/myblog/node_modules/jade/lib/jade.js:95:62)
at Object.exports.compile (/var/www/site/myblog/node_modules/jade/lib/jade.js:154:9)
at Function.exports.compile (/var/www/site/myblog/node_modules/express/lib/view.js:68:33)
at ServerResponse.res._render (/var/www/site/myblog/node_modules/express/lib/view.js:417:18)

I only install it, and run it, and then I get this error.

BTW, how can I uninstall? just remove the code from my project?

Thanks.

@thebrianlopez
Copy link

this packages was made with an older version of jade. the jade files in your project need to be updated like so:

doctype html
html(lang="en")
  head
    title= pageTitle
    block content

@ghost
Copy link
Author

ghost commented Apr 13, 2014

@thebrianlopez I had fixed several days ago, but still thank you.

@ghost ghost closed this as completed Apr 13, 2014
This issue was 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

1 participant