Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read property 'replace' of undefined #866

Closed
zhirui1994 opened this issue Mar 7, 2017 · 4 comments · Fixed by #682
Closed

Cannot read property 'replace' of undefined #866

zhirui1994 opened this issue Mar 7, 2017 · 4 comments · Fixed by #682

Comments

@zhirui1994
Copy link

Cannot read property 'replace' of undefined
Please report this to https://github.com/chjj/marked.
at Lexer.lex (eval at (app.js:949), :138:5)
at Function.Lexer.lex (eval at (app.js:949), :129:16)
at marked (eval at (app.js:949), :1219:31)
at VueComponent.compiledMarkdown (eval at (app.js:925), :21:53)
at Watcher.get (eval at (app.js:730), :2414:25)
at Watcher.evaluate (eval at (app.js:730), :2514:21)
at VueComponent.computedGetter [as compiledMarkdown] (eval at (app.js:730), :2740:17)
at Object.get (eval at (app.js:730), :1512:20)
at Proxy.render (eval at (app.js:937), :15:30)
at VueComponent.Vue._render (eval at (app.js:730), :3518:22)

@cmalaboeuf
Copy link

I have the same issue when i try to use it in angular2 project.

Any idea to solve this ?

@brad-johnson-digisight
Copy link

I am also experiencing this, in a React project built with Brunch (Phoenix framework). I only see it in production builds, I think it has to do with minification.

@davericher
Copy link

Same error on non minified build

@Feder1co5oave
Copy link
Contributor

@joshbruce solved by #682

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants