xcodebuild/blog-admin

Build site failed

y2kbug opened this issue · 2 comments

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

You have to install hexo before build.

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.