Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
ghost-cli fails at checking node version #796
I'm using Ghost in Github Pages with this tutorial, everything is going fine until a few days ago when I wanted to update the Ghost version ( to Ghost 2, but first needed to be in latest v1 )
Steps to Reproduce
The ghost update --v1 output
If I run ghost doctor -V
I can run ghost with ghost run and write and publish without problems with that node version
This is automatically output by Ghost-CLI if an error occurs, please copy & paste:
Bug submission checklist
Please fill out this checklist to acknowledge that you followed the requirements to submit a bug report.
@AlexDaciuk took me a minute to figure out what was going on, but I see what the issue is here, and it's one that I'm working on getting figured out
In the meantime, if you run
referenced this issue
Aug 21, 2018
Not sure if this is related, but I am currently having a problem with node Versions too. I tried installing locally while using
But installation fails because
Seems strange, that the first check passed...
I think this is a different issue than the original, but here's some info: The issue stems from the fact that Ghost has a limited set of node versions it supports, and its dependencies have their own set. Ghost supports
The issue of node 8.9.x not being supported bubbled up in Ghost 2.12.0 and was fixed in 2.13.0 (TryGhost/Ghost@d017cf3). What's interesting is the same error is bubbling up for you for the latest version of ghost, but I can't reproduce it
If you want a quick fix, you can upgrade to node v8.10.x
I’m having a slightly different issue, which seems to fall into the category of node version failures as well:
Using node v8.9.4 or v8.15.0 to install ghost, since that’s what’s supported, the installer manages to create a node v8.2.1 directory and then install itself there.
This leads to:
Am I missing something?
PS: I can still get Ghost to install & run successfully in node v8.2.1, I just don’t get what’s happening here.