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

compatibility issue with hexo-2.x (hexo-cli and hexo) #1074

Closed
hanfeisun opened this issue Mar 1, 2015 · 2 comments · May be fixed by Bhanditz/hexo#3, one3chens/hexo#9, feicc/hexo#8, mdno/hexo#9 or alleniver/hexo#3

Comments

@hanfeisun
Copy link

I am working on a github page which depends on hexo 2.5.7.

https:/vuejs/vuejs.org

It works well when I use npm install -g hexo to install hexo 2.x.

However, when I execute npm install -g hexo-cli to install newer version hexo 3.0, the old version of hexo is replaced by newer version. And hexo server doesn't work now..

Is it possible to make hexo 3.x compatible with hexo 2.x? If not, would there be a way to make them coexist instead of being replace by the other?

@celsomiranda
Copy link

I don't think you can make them coexist.

If you're looking to upgrade to 3.0.0 look at this wiki article.

@hanfeisun
Copy link
Author

@celsomiranda Thanks for the reference.

Some legacy sites maintained by others are not going to migrate to 3.0... I was just wondering whether there is a easier way to switch between hexo 2.x and hexo 3.0.

Currently the approach I used to switch is run npm install -g hexo to switch back and run npm install -g hexo-cli to switch forward, which looks a little clumsy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment