Skip to content

TypeError: Cannot call method 'replace' of undefined #168

Closed
@garthk

Description

@garthk

Marked crashed and asked me to report the problem.

./node_modules/markdown-directory/node_modules/marked/lib/marked.js:1099
    throw e;
          ^
TypeError: Cannot call method 'replace' of undefined
Please report this to https://github.com/chjj/marked.
    at Lexer.lex (./node_modules/markdown-directory/node_modules/marked/lib/marked.js:130:6)
    at Function.Lexer.lex (./node_modules/markdown-directory/node_modules/marked/lib/marked.js:121:16)
    at marked (./node_modules/markdown-directory/node_modules/marked/lib/marked.js:1091:31)
    at ConcatStream.cb (./node_modules/markdown-directory/index.js:35:30)
    at ConcatStream.end (./node_modules/markdown-directory/node_modules/concat-stream/index.js:43:21)
    at ReadStream.onend (_stream_readable.js:483:10)
    at ReadStream.g (events.js:175:14)
    at ReadStream.EventEmitter.emit (events.js:117:20)
    at _stream_readable.js:910:16
    at process._tickDomainCallback (node.js:459:13)

I'm afraid I couldn't replicate the issue with text I can give you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions