blog-admin icon indicating copy to clipboard operation
blog-admin copied to clipboard

Build site failed

Open y2kbug opened this issue 8 years ago • 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

y2kbug avatar May 22 '17 08:05 y2kbug

You have to install hexo before build.

xcodebuild avatar May 29 '17 11:05 xcodebuild

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.

wuliuxiansheng avatar Jun 23 '18 23:06 wuliuxiansheng