omorandi / TiInspector

Debug Titanium Mobile applications through Chrome DevTools
MIT License
109 stars 14 forks source link

Type error #8

Closed stevoPerisic closed 11 years ago

stevoPerisic commented 11 years ago

Express 500 TypeError: /usr/local/lib/node_modules/ti-inspector/views/inc/header.jade:3 1| !!! 2| html > 3| include inc/header 4| 5| body.inspector 6| Object # has no method 'isNesting' 1| !!! 2| html

3| include inc/header 4| 5| body.inspector 6| Object # has no method 'isNesting' at assertNestingCorrect (/usr/local/lib/node_modules/ti-inspector/node_modules/jade/lib/lexer.js:45:11) at Object.Lexer.attrs (/usr/local/lib/node_modules/ti-inspector/node_modules/jade/lib/lexer.js:533:7) at Object.Lexer.next (/usr/local/lib/node_modules/ti-inspector/node_modules/jade/lib/lexer.js:788:15) at Object.Lexer.lookahead (/usr/local/lib/node_modules/ti-inspector/node_modules/jade/lib/lexer.js:122:46) at Object.Parser.lookahead (/usr/local/lib/node_modules/ti-inspector/node_modules/jade/lib/parser.js:116:23) at Object.Parser.parseTag (/usr/local/lib/node_modules/ti-inspector/node_modules/jade/lib/parser.js:618:25) at Object.Parser.parseExpr (/usr/local/lib/node_modules/ti-inspector/node_modules/jade/lib/parser.js:199:21) at Object.Parser.block (/usr/local/lib/node_modules/ti-inspector/node_modules/jade/lib/parser.js:593:25) at Object.Parser.tag (/usr/local/lib/node_modules/ti-inspector/node_modules/jade/lib/parser.js:722:26) at Object.Parser.parseTag (/usr/local/lib/node_modules/ti-inspector/node_modules/jade/lib/parser.js:625:17)

omorandi commented 11 years ago

What versions of express and jade are you running on?

stevoPerisic commented 11 years ago

I am running Jade 0.35.0 and express 3.4.0

omorandi commented 11 years ago

I have the same, but can't reproduce the issue. Would you mind trying uninstalling ti-inspector, and reinstalling it (I have no better idea at the moment)?

stevoPerisic commented 11 years ago

That did it. Thank you much!