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

problems installing blacksmith on OSX #95

Open
ghost opened this issue May 29, 2013 · 0 comments
Open

problems installing blacksmith on OSX #95

ghost opened this issue May 29, 2013 · 0 comments

Comments

@ghost
Copy link

ghost commented May 29, 2013

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?

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

0 participants