I have a CentOS 7 machine with mysql server and nginx. I installed nodejs with yum install nodejs and ghost-cli.
I wanted to install ghost with ghost-cli. but when I enter the ghost install commant I get this error:
✖ Checking system Node.js version
A SystemError occurred.
Message: The version of Ghost-CLI you are running was not installed with this version of Node.
This means there are likely two versions of Node running on your system, please ensure
that you are only running one global version of Node before continuing.
Debug Information:
Node Version: v6.11.1
Ghost-CLI Version: 1.1.0
Environment: production
Command: 'ghost install'
What's caused this error and how can I fix that? Thank you.