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

無法安裝 hexo-renderer-discount 插件 #41

Closed
ghost opened this issue Jan 7, 2013 · 3 comments
Closed

無法安裝 hexo-renderer-discount 插件 #41

ghost opened this issue Jan 7, 2013 · 3 comments
Labels
question Needs help in usage

Comments

@ghost
Copy link

ghost commented Jan 7, 2013

詳細請看看這邊的代碼提示:https://gist.github.com/4473855

請問這是插件的錯誤還是我在安裝的過程有什麼出錯了?

@tommy351
Copy link
Member

tommy351 commented Jan 7, 2013

請先安裝Discount,可以用homebrew或macport之類的工具安裝,如果安裝後還是失敗的話,請確認有沒有安裝gcc編譯器

@ghost
Copy link
Author

ghost commented Jan 7, 2013

已經安裝了,Xcode也有在下載hexo之前安裝好了,不過依然不能下載……(錯誤代碼跟上方一樣)

@tommy351
Copy link
Member

tommy351 commented Jan 7, 2013

使用C/C++寫的模組常有這種情況,我在寫這外掛前也發生過這種錯誤

試著執行

which node

然後將上面這句執行的內容設定成環境變數NODE_PATH

export NODE_PATH="..."

我不確定這樣能不能解決

@ghost ghost closed this as completed Jan 9, 2013
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Needs help in usage
Projects
None yet
Development

No branches or pull requests

1 participant