xcodebuild / blog-admin

Write blog in emacs with hexo/org-page/nikola
GNU General Public License v2.0
229 stars 24 forks source link

Build site failed #46

Open y2kbug opened 7 years ago

y2kbug commented 7 years ago

emacs:25.2.1 spacemacs:0.200.9

My blog-admin-backend-path variable is set to ~ / Dropbox / Blog.Installation configuration blog-admin, in the blog-admin-start operation Build site suggested zsh: 1: command not found: hexo, log show cd ~ / Dropbox / Blog && hexo --config _config.yml generate: exited abnormally With code 127

xcodebuild commented 7 years ago

You have to install hexo before build.

wuliuxiansheng commented 6 years ago

I have the same issue and hexo is already installed. I can run hexo command in a terminal. This is because these environment variable is only loaded when running an interactive shell, like eshell, but blog-admin use shell-command to run hexo command. You need to adjust shell-command-switch to be "-ic" then hexo command can be found. I don't need to do this on Mac but on Ubuntu.