Skip to content

this[dispatch] is not a function #10

@chevett

Description

@chevett

getting a not very helpful error message. i suspect i have poorly formatted tags, but I'm having a hard time tracking them down.

/home/chevett/code/vashify/node_modules/vash/lib/parser.js:108
  var consumed = this[dispatch](this.node, curr, next, ahead, nnwon);
                               ^

TypeError: this[dispatch] is not a function
    at Parser.read (/home/chevett/code/vashify/node_modules/vash/lib/parser.js:108:32)
    at Object.exports.compile (/home/chevett/code/vashify/node_modules/vash/index.js:62:33)
    at Stream.<anonymous> (/home/chevett/code/vashify/index.js:33:60)
    at _end (/home/chevett/code/vashify/node_modules/through/index.js:65:9)
    at Stream.stream.end (/home/chevett/code/vashify/node_modules/through/index.js:74:5)
    at DestroyableTransform.onend (/home/chevett/relay/admin-site/node_modules/browserify/node_modules/readable-stream/lib/_stream_readable.js:543:10)
    at DestroyableTransform.g (events.js:260:16)
    at emitNone (events.js:72:20)
    at DestroyableTransform.emit (events.js:166:7)
    at endReadableNT (/home/chevett/relay/admin-site/node_modules/browserify/node_modules/readable-stream/lib/_stream_readable.js:958:12)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions