coolaj86 / example-oauth2orize-consumer

This passport-strategy consumer showcases how to utilize a oauth2orize provider
55 stars 27 forks source link

`!!!` is deprecated, you must now use `doctype` #2

Open Tug opened 10 years ago

Tug commented 10 years ago

Last version of jade seems to have deprecated !!! Solution: update index.jade

Full trace:

$ jade public/*.jade

/usr/local/lib/node_modules/jade/lib/runtime.js:202 throw err; ^ Error: public/index.jade:1

1| !!!5 2| html 3| head 4| body

!!! is deprecated, you must now use doctype at Object.Lexer.doctype (/usr/local/lib/node_modules/jade/lib/lexer.js:248:13) at Object.Lexer.next (/usr/local/lib/node_modules/jade/lib/lexer.js:845:15) at Object.Lexer.lookahead (/usr/local/lib/node_modules/jade/lib/lexer.js:113:46) at Parser.lookahead (/usr/local/lib/node_modules/jade/lib/parser.js:100:23) at Parser.peek (/usr/local/lib/node_modules/jade/lib/parser.js:77:17) at Parser.parse (/usr/local/lib/node_modules/jade/lib/parser.js:115:26) at parse (/usr/local/lib/node_modules/jade/lib/jade.js:95:21) at Object.exports.compile (/usr/local/lib/node_modules/jade/lib/jade.js:164:9) at /usr/local/lib/node_modules/jade/bin/jade.js:154:75 at fs.js:266:14

toddpi314 commented 10 years ago

Yeah, just replace the !!! with doctype and your gold