PGSSoft / ramlo

Documentation generator for RAML 1.0
MIT License
64 stars 15 forks source link

Cannot read property 'lowLevel' of undefined #27

Closed YamiOdymel closed 8 years ago

YamiOdymel commented 8 years ago
/usr/local/lib/node_modules/ramlo/node_modules/jade/lib/runtime.js:240
  throw err;
  ^

TypeError: /usr/local/lib/node_modules/ramlo/src/index.jade:288
    286| 
    287|                                                                     if endpoint.queryParameters.thead.example
  > 288|                                                                         td= parameter.example
    289| 
    290|                                             if endpoint.requestBody && endpoint.requestBody["tbody"]
    291|                                                 if endpoint.requestBody["tbody"].length

Cannot read property 'lowLevel' of undefined
    at ExampleSpecImpl.BasicNodeImpl.toString (/usr/local/lib/node_modules/ramlo/node_modules/raml-1-parser/dist/raml1/wrapped-ast/parserCore.js:150:16)
    at Object.jade_escape [as escape] (/usr/local/lib/node_modules/ramlo/node_modules/jade/lib/runtime.js:196:16)
    at eval (eval at <anonymous> (/usr/local/lib/node_modules/ramlo/node_modules/jade/lib/index.js:218:8), <anonymous>:4659:25)
    at eval (eval at <anonymous> (/usr/local/lib/node_modules/ramlo/node_modules/jade/lib/index.js:218:8), <anonymous>:4829:4)
    at eval (eval at <anonymous> (/usr/local/lib/node_modules/ramlo/node_modules/jade/lib/index.js:218:8), <anonymous>:7121:4)
    at eval (eval at <anonymous> (/usr/local/lib/node_modules/ramlo/node_modules/jade/lib/index.js:218:8), <anonymous>:10222:4)
    at eval (eval at <anonymous> (/usr/local/lib/node_modules/ramlo/node_modules/jade/lib/index.js:218:8), <anonymous>:13046:22)
    at res (/usr/local/lib/node_modules/ramlo/node_modules/jade/lib/index.js:219:38)
    at Object.exports.renderFile (/usr/local/lib/node_modules/ramlo/node_modules/jade/lib/index.js:380:38)
    at Object.<anonymous> (/usr/local/lib/node_modules/ramlo/bin/ramlo.js:49:21)