omorandi/TiInspector

Current version in NPM has catastrophic failure

Closed this issue · 1 comments

Jade seems to have been updated and in the package.json the version is "*" using npm to install ti-inspector now results in a catastrophic failure because of a sever error in Jade:

Error: /Users/suki/source/SeeClickFix/titanium/node_modules/ti-inspector/views/layout.jade:1
  > 1| !!!
    2| html
    3|   include inc/header
    4|

`!!!` is deprecated, you must now use `doctype`
    at Object.Lexer.doctype (/Users/suki/source/SeeClickFix/titanium/node_modules/ti-inspector/node_modules/jade/lib/lexer.js:248:13)
    at Object.Lexer.next (/Users/suki/source/SeeClickFix/titanium/node_modules/ti-inspector/node_modules/jade/lib/lexer.js:833:15)
    at Object.Lexer.lookahead (/Users/suki/source/SeeClickFix/titanium/node_modules/ti-inspector/node_modules/jade/lib/lexer.js:113:46)
    at Parser.lookahead (/Users/suki/source/SeeClickFix/titanium/node_modules/ti-inspector/node_modules/jade/lib/parser.js:111:23)
    at Parser.peek (/Users/suki/source/SeeClickFix/titanium/node_modules/ti-inspector/node_modules/jade/lib/parser.js:88:17)
    at Parser.parse (/Users/suki/source/SeeClickFix/titanium/node_modules/ti-inspector/node_modules/jade/lib/parser.js:126:26)
    at Parser.parse (/Users/suki/source/SeeClickFix/titanium/node_modules/ti-inspector/node_modules/jade/lib/parser.js:140:24)
    at parse (/Users/suki/source/SeeClickFix/titanium/node_modules/ti-inspector/node_modules/jade/lib/jade.js:95:62)
    at Object.exports.compile (/Users/suki/source/SeeClickFix/titanium/node_modules/ti-inspector/node_modules/jade/lib/jade.js:152:9)
    at Object.exports.render (/Users/suki/source/SeeClickFix/titanium/node_modules/ti-inspector/node_modules/jade/lib/jade.js:256:15)

Never mind. Using an old version of ti-inspector. But because jade version is a wildcard so as it updates trying to use an older version of ti-inspector will break.