I love ghost and want to develop a custom theme for my blog, unfortunately I am unable to install it on my Windows 10 machine. I thoroughly followed the guide at: https://docs.ghost.org/docs/install-local#section-developing-themes, tried installing nod 6.10 and the latest LTS as well but no luck. Everything goes smoothly with npm i -g ghost-cli@latest but as soon as I issue ghost install local in an empty folder it stucks on step 3/5 with info There appears to be trouble with your network connection. Retrying… I already tried fixing by adding yarn config set network-timeout 180000. Here is a full output:
c:\ghost>ghost install local √ Checking system Node.js version √ Checking current folder permissions √ Checking memory availability √ Checking for latest Ghost version √ Setting up install directory × Downloading and installing Ghost v1.24.2 A ProcessError occurred. Message: Command failed: yarn install --no-emoji --no-progress warning email@example.com: The engine "cli" appears to be invalid. error An unexpected error occurred: "http://registry.npmjs.org/compression/-/compression-1.7.2.tgz: socket hang up". yarn install v1.7.0 [1/5] Validating package.json... [2/5] Resolving packages... [3/5] Fetching packages... info There appears to be trouble with your network connection. Retrying... info There appears to be trouble with your network connection. Retrying... info There appears to be trouble with your network connection. Retrying... info There appears to be trouble with your network connection. Retrying... info If you think this is a bug, please open a bug report with the information provided in "c:\\ghost\\versions\\1.24.2\\yarn-error.log". info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command. Exit code: 1 Debug Information: OS: Microsoft Windows, v10.0.17134 Node Version: v8.11.2 Ghost-CLI Version: 1.8.1 Environment: development Command: 'ghost install local' Additional log info available in: C:\Users\Nikoloz\.ghost\logs\ghost-cli-debug-2018-06-11T18_00_24_861Z.log Try running ghost doctor to check your system for known issues. Please refer to https://docs.ghost.org/v1/docs/troubleshooting#section-cli-errors for troubleshooting. c:\ghost>ghost doctor Working directory is not a recognisable Ghost installation. Please runghost doctor
again within a folder where Ghost was installed with Ghost-CLI.