no local hexo found even after installing it?

biggerfish's Avatar

biggerfish

12 Apr, 2018 03:22 AM

Im trying to use hexo in appveyor, here is (part of) the .yml file

install:
- node --version
- npm install npm
- npm --version
- npm install
- npm install hexo-cli -g
- npm install hexo --save
- hexo --version

the last step 'hexo --version' does not succeed and I get the error

    ERROR Local hexo not found in C:\projects\blogsource
    ERROR Try running: 'npm install hexo --save'

But I just run npm install hexo --save...

The npm and hexo is the latest verion, I wonder is there any environment configuration in appveyor?

Thanks

  1. 1 Posted by biggerfish on 12 Apr, 2018 05:13 AM

    biggerfish's Avatar

    I find updating to a newer version of node solves the problem, as follows
     
    Install-Product node

  2. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:28 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac