Hexo: Local Hexo not found (although it is there) on Windows

Created on 24 Jul 2016  路  4Comments  路  Source: hexojs/hexo

Environment Info

Node version: v4.4.7
Windows 10 Pro

For BUG

  • BUG description:

I am trying to test an open-source repo, which I successfully used with my mac, but now on my Windows machine, I am getting the error:

>hexo server
ERROR Local hexo not found in ~\Source\Repos\meteor-docs
ERROR Try running: 'npm install hexo --save' 

I have tried running the suggested command, and I can see the hexo directory in my node_modules file, yet I still get this error?

Steps to Reproduce:

  1. git clone https://github.com/meteor/docs
  2. cd docs
  3. git submodule update --init
  4. npm install
  5. npm start
stale

Most helpful comment

I'm also having the same issue.

hexo serve

works on mac but not on ubuntu 16.04.1 server.

All 4 comments

I'm also having the same issue.

hexo serve

works on mac but not on ubuntu 16.04.1 server.

same problem, same steps works well on mac, but not on ubuntu and centos.

EDIT: removing the node_modules directory and rerunning npm install worked.

Same here on Windows 8.1. Hexo worked fine before updating Hexo to 3.3.9 (I think it was at 3.2.0 before).

This issue has been automatically marked as stale because lack of recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

fabien-h picture fabien-h  路  22Comments

curbengh picture curbengh  路  24Comments

pod4g picture pod4g  路  24Comments

SukkaW picture SukkaW  路  22Comments

tomap picture tomap  路  21Comments