"ghost install local" error in windows
See original GitHub issueI use ghost locally to develop themes and now I need to install ghost 1.0.0 for updating and testing my old themes. But I can’t install and run Ghost 1.0.0-beta.2 ( not tried/tested previous 1.0.0 versions )
Windows 8.1 Node 6.11.0
C:\ghost>ghost install local
√ Checking for latest Ghost version
√ Running system checks
√ Setting up install directory
√ Downloading and installing Ghost v1.0.0-beta.2
√ Moving files
√ Finishing setup
√ Validating config
An error occurred.
Message: 'The server has encountered an error.'
Debug Information:
Node Version: v6.11.0
Ghost-CLI Version: 1.0.0-alpha.19
Environment: development
Command: 'ghost install local'
(node:768) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: ENOENT: no such file or directory, open 'C:\ghost\ghost-cli-debug-2017-06-26T08:24:49.047Z.log'
C:\ghost>ghost start
Found a development config but not a production config, starting in development mode instead.
√ Validating config
An error occurred.
Message: 'The server has encountered an error.'
Debug Information:
Node Version: v6.11.0
Ghost-CLI Version: 1.0.0-alpha.19
Environment: development
Command: 'ghost start'
(node:1332) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: ENOENT: no such file or directory, open 'C:\ghost\ghost-cli-debug-2017-06-26T08:25:07.131Z.log'
Automatically generated config.development.json file
{"url":"http://localhost:2368/","pname":"ghost-local-1-2-3-4-5-6-7-8-9-10-11","server":{"port":2368},"process":"local","database":{"client":"sqlite3","connection":{"filename":"C:\\ghost\\content\\data\\ghost-local.db"}},"logging":{"transports":["file","stdout"]}}
Folder structure after the installation
Is there any more data should I provide?
Issue Analytics
- State:
- Created 6 years ago
- Comments:19 (11 by maintainers)
Top Results From Across the Web
'ghost install local' not working · Issue #1257 - GitHub
I have installed Ghost locally with npm install ghost-cli@latest -g . However, when I run ghost install local I get the following error:...
Read more >Unable to install Ghost Locall on Windows 10
I can't install a new Ghost instance on Windows 10, this is the output: ghost install local √ Checking system Node.js version √...
Read more >Fixing "Cannot find module 'sqlite3'" error when installing ...
I was getting the following error when installing Ghost v4 locally on Windows 10: × Starting Ghost One or more errors occurred.
Read more >How to Install Ghost CMS on Mac and PC - MakeUseOf
We'll show you how to run Ghost CMS locally on Mac and PC. Prerequisites of Ghost CMS. Ghost CMS requires the following: Node.js...
Read more >Failing to install ghost local install - node.js - Stack Overflow
When i try to install ghost using the ghost ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@rasmuslundberg per my above comment - this is a bug in Ghost itself. I put a PR in to fix it (TryGhost/Ghost#8641), but until that’s merged / a new version is released there’s not much I can do on the CLI side.
Maybe the colon ( : ) in file name preventing to generate or save the file. As far as I know, colon ( : ) is not a valid charecter for file name in Windows.