Add option to force ghost install
See original GitHub issueSummary
As a security precaution, ghost
cannot be installed in a non-empty directory. This behavior is detrimental in at least one case. Consider a system utilizing nodeenv
to manage multiple versions of NodeJS. If the system’s global NodeJS version is set to 14.x, ghost
cannot be installed due to version incompatibility. Creating a new directory for ghost
and setting the local (directory) NodeJS version to 12.x via nodeenv
creates a folder named env
, which then blocks ghost
from installing due to a non-empty directory.
Proposed solution is to add a --force
flag to ghost install
.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Ghost-CLI - A fully loaded tool for installation and configuration
The best way to install, manage, and update your site locally or when self-hosting Ghost. A full guide for our advanced CLI tool....
Read more >Installing Ghost - Online manual - ICDSoft
Change the deployment directory to the location where Ghost was installed. In this example it is /private/ghost. Enter the following in the 'Start...
Read more >How to Install Ghost on Ubuntu 18.04 - Linuxize
Once the repository is enabled, install yarn with: sudo apt update sudo apt-get -o Dpkg::Options::="--force-overwrite" install yarn
Read more >How to Install Ghost CMS on Mac and PC - MakeUseOf
Step 1: Create a new folder where you want to install the Ghost app. Type in: ; Step 2: cd into the ghost...
Read more >How To Setup Your Self-Hosted Ghost Blog? (Without Tearing ...
Ghost will prompt you for two details: 1. Your domain - Add an A Record -> xxx.xxx.xxx.xxx & ensure the DNS has fully...
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 FreeTop 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
Top GitHub Comments
@bermudalocket that approach makes sense - I’ll work on adding that 👍
As an end user unfamiliar with the inner workings of this project the semantics of the flag makes no difference to me. If there’s a choice that better adapts to an existing naming scheme then that is obviously the better choice.