You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been running blacksmith for some time for my blog without any problems. The blog is stored in this public repo: https://github.com/colmsjo/myblog
I get this error when I try to render the blog on my new mac:
Gizur-MacBook-095207fa:myblog jonas$ ./node_modules/blacksmith/bin/blacksmith blog
Rendering: blog
Error rendering: blog
[TypeError: Cannot read property 'compiled' of undefined]
[ 'TypeError: Cannot read property \'compiled\' of undefined',
' at compileMode (/Users/jonas/git/colmsjo/myblog/node_modules/blacksmith/node_modules/highlight.js/highlight.js:142:15)',
' at compileLanguage (/Users/jonas/git/colmsjo/myblog/node_modules/blacksmith/node_modules/highlight.js/highlight.js:213:5)',
' at highlight (/Users/jonas/git/colmsjo/myblog/node_modules/blacksmith/node_modules/highlight.js/highlight.js:362:5)',
' at Object.common.marked.highlight (/Users/jonas/git/colmsjo/myblog/node_modules/blacksmith/lib/blacksmith/common.js:41:14)',
' at Parser.tok (/Users/jonas/git/colmsjo/myblog/node_modules/blacksmith/node_modules/marked/lib/marked.js:846:33)',
' at Parser.parse (/Users/jonas/git/colmsjo/myblog/node_modules/blacksmith/node_modules/marked/lib/marked.js:787:17)',
' at Function.Parser.parse [as parser] (/Users/jonas/git/colmsjo/myblog/node_modules/blacksmith/node_modules/marked/lib/marked.js:774:17)',
' at renderMarkdown (/Users/jonas/git/colmsjo/myblog/node_modules/blacksmith/lib/blacksmith/content.js:146:23)',
' at fn (/Users/jonas/git/colmsjo/myblog/node_modules/blacksmith/node_modules/async/lib/async.js:517:34)',
' at /Users/jonas/git/colmsjo/myblog/node_modules/blacksmith/node_modules/async/lib/async.js:441:34',
' at process._tickCallback (node.js:325:13)' ]
npm install runs without any errors. I'm guessing there is some dependency problem. Any suggestions?
The text was updated successfully, but these errors were encountered:
I've been running blacksmith for some time for my blog without any problems. The blog is stored in this public repo: https://github.com/colmsjo/myblog
I get this error when I try to render the blog on my new mac:
npm install
runs without any errors. I'm guessing there is some dependency problem. Any suggestions?The text was updated successfully, but these errors were encountered: