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

Installation on Windows Fails with "A SystemError occurred." (nodejs version mismatch) #20026

Closed
1 task done
robertgro opened this issue Apr 16, 2024 · 1 comment
Closed
1 task done
Labels
self hosting [triage] This is an environment issue rather than a bug

Comments

@robertgro
Copy link

Issue Summary

Terminal output (image):

image

Terminal output (text):

Love open source? We’re hiring JavaScript Engineers to work on Ghost full-time.
https://careers.ghost.org



√ Checking system Node.js version - found v20.12.2
√ Checking current folder permissions
√ Checking memory availability
√ Checking free space
√ Checking for latest Ghost version
√ Setting up install directory
× Downloading and installing Ghost v5.82.2
A SystemError occurred.

Message: Ghost v5.82.2 is not compatible with the current Node version. Your node version is 20.12.2, but Ghost v5.82.2 requires ^18.12.1

Debug Information:
    OS: Microsoft Windows 10 Pro, v10.0.19045
    Node Version: v20.12.2
    Ghost-CLI Version: 1.26.0
    Environment: development
    Command: 'ghost install local'

Try running ghost doctor to check your system for known issues.

You can always refer to https://ghost.org/docs/ghost-cli/ for troubleshooting.

Steps to Reproduce

  1. npm init in empty directory
  2. npm install ghost-cli@latest -g (according to https://ghost.org/docs/install/local/#install-ghost-cli)
  3. Create a new directory and change to it
  4. ghost install local (according to https://ghost.org/docs/install/local/#install-ghost)
  5. Receive error message

Ghost Version

5.82.2

Node.js Version

20.12.2

How did you install Ghost?

CLI

Database type

Other

Browser & OS version

MSEdge 123.0.2420.97 & Windows 10 Pro, v10.0.19045

Relevant log / error output

See summary.

Code of Conduct

  • I agree to be friendly and polite to people in this repository
@github-actions github-actions bot added the needs:triage [triage] this needs to be triaged by the Ghost team label Apr 16, 2024
@daniellockyer daniellockyer added the self hosting [triage] This is an environment issue rather than a bug label Apr 23, 2024
@github-actions github-actions bot removed the needs:triage [triage] this needs to be triaged by the Ghost team label Apr 23, 2024
Copy link
Contributor

Hey @robertgro 👋

We've reviewed your bug report and believe the issue is environment specific, rather than a bug. Many questions can be answered by reviewing our documentation. If you can't find an answer then our forum is a great place to get community support, plus it helps create a central location for searching problems/solutions.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
self hosting [triage] This is an environment issue rather than a bug
Projects
None yet
Development

No branches or pull requests

2 participants