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

doctype 5 is deprecated #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

ChrisZieba
Copy link

No description provided.

@gkorland
Copy link

gkorland commented Jan 2, 2014

Error: /media/guy/sda2/guy/WebstormProjects/nodeshop/shop/views/main/home.jade:16
14| block scripts
15|

16|

doctype 5 is deprecated, you must now use doctype html
at Object.Compiler.setDoctype (/media/guy/sda2/guy/WebstormProjects/nodeshop/node_modules/jade/lib/compiler.js:68:13)
at Object.Compiler.visitDoctype (/media/guy/sda2/guy/WebstormProjects/nodeshop/node_modules/jade/lib/compiler.js:312:12)
at Object.Compiler.visitNode (/media/guy/sda2/guy/WebstormProjects/nodeshop/node_modules/jade/lib/compiler.js:210:37)
at Object.Compiler.visit (/media/guy/sda2/guy/WebstormProjects/nodeshop/node_modules/jade/lib/compiler.js:197:10)
at Object.Compiler.visitBlock (/media/guy/sda2/guy/WebstormProjects/nodeshop/node_modules/jade/lib/compiler.js:278:12)
at Object.Compiler.visitNode (/media/guy/sda2/guy/WebstormProjects/nodeshop/node_modules/jade/lib/compiler.js:210:37)
at Object.Compiler.visit (/media/guy/sda2/guy/WebstormProjects/nodeshop/node_modules/jade/lib/compiler.js:197:10)
at Object.Compiler.compile (/media/guy/sda2/guy/WebstormProjects/nodeshop/node_modules/jade/lib/compiler.js:52:10)
at parse (/media/guy/sda2/guy/WebstormProjects/nodeshop/node_modules/jade/lib/jade.js:96:23)
at Object.exports.compile (/media/guy/sda2/guy/WebstormProjects/nodeshop/node_modules/jade/lib/jade.js:152:9)

@dileephell
Copy link

Just replace the word doctype 5with thedoctype html` in the views files like layout.jade etc.

@gkorland
Copy link

gkorland commented Jan 2, 2014

Ya I know I created a pull request for it.

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

Successfully merging this pull request may close these issues.

3 participants