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

你好,第七章报错 #10

Closed
jieyun-yang opened this issue Jul 28, 2013 · 1 comment
Closed

你好,第七章报错 #10

jieyun-yang opened this issue Jul 28, 2013 · 1 comment

Comments

@jieyun-yang
Copy link

TypeError: Cannot call method 'slice' of null

对应代码位置:
//解析markdown为html
docs.forEach(function(doc) {
doc.post = markdown.toHTML(doc.post);
});

@jiuyuehe
Copy link

删除mongodb的数据,重新添加试试------------------ 原始邮件 ------------------
发件人: "Young Jakcy"notifications@github.com
发送时间: 2013年7月28日(星期天) 上午9:06
收件人: "nswbmw/N-blog"N-blog@noreply.github.com;
主题: [N-blog] 你好,第七章报错 (#10)

TypeError: Cannot call method 'slice' of null

对应代码位置:
//解析markdown为html
docs.forEach(function(doc) {
doc.post = markdown.toHTML(doc.post);
});


Reply to this email directly or view it on GitHub.

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

No branches or pull requests

2 participants