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

Build site failed #46

Open
y2kbug opened this issue May 22, 2017 · 2 comments
Open

Build site failed #46

y2kbug opened this issue May 22, 2017 · 2 comments

Comments

@y2kbug
Copy link

y2kbug commented May 22, 2017

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
Copy link
Owner

You have to install hexo before build.

@wuliuxiansheng
Copy link

wuliuxiansheng commented Jun 23, 2018

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.

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

3 participants