paladini / ghost-on-github-pages

Ghost on Github Pages. Build and deploy Ghost for free in a few minutes.
http://paladini.github.io/ghost-on-github-pages-demo/
MIT License
485 stars 68 forks source link

Error - Working directory is not a recognisable Ghost installation. #15

Open abhilashfyi opened 5 years ago

abhilashfyi commented 5 years ago

I get this error after going through the steps mentioned. Do I need to install Ghost via ghost-CLI at this location?

I'm new to this and would appreciate your help, thanks!

[INFO] Starting Ghost server... Working directory is not a recognisable Ghost installation. Run ghost start again within a folder where Ghost was installed with Ghost-CLI. cp: directory /Users/abhilashjain/.ghost//current does not exist cp: directory /Users/abhilashjain/.ghost//current does not exist cp: /Users/abhilashjain/.ghost//current/.gitignore: No such file or directory

surajk95 commented 5 years ago

Same issue

DanHakimi commented 4 years ago

I've had the same issue and I do have a ghost install.

anvarjamalsaifi commented 4 years ago

Looks like I got a solution. I was getting this same error when was trying to update Ghost or using some commands. I think what's happening is we're not able to get inside the Ghost directory. So in order to do that I first got into the Ghost manager by using sudo -i -u ghost-mgr and then got into the right directory by using cd /var/www/ghost/ and then used Ghost commands. Worked for me.

jofftiquez commented 2 years ago

Looks like I got a solution. I was getting this same error when was trying to update Ghost or using some commands. I think what's happening is we're not able to get inside the Ghost directory. So in order to do that I first got into the Ghost manager by using sudo -i -u ghost-mgr and then got into the right directory by using cd /var/www/ghost/ and then used Ghost commands. Worked for me.

Very helpful. Thanks.

iamjaeeuncho commented 1 year ago

Looks like I got a solution. I was getting this same error when was trying to update Ghost or using some commands. I think what's happening is we're not able to get inside the Ghost directory. So in order to do that I first got into the Ghost manager by using sudo -i -u ghost-mgr and then got into the right directory by using cd /var/www/ghost/ and then used Ghost commands. Worked for me.

it works! thanks ;)

anvarjamalsaifi commented 1 year ago

You're welcome. I'm glad it's working for us haha!

shravan20 commented 8 months ago

This didnt work in MAC m1.

khaoniaomamuang commented 8 months ago

Use NodeJS version 18 (Hydrogen). This solves it for me.

danielrosehill commented 6 months ago

A bit late to this thread but still facing this output even after updating to latest node-js

anvarjamalsaifi commented 6 months ago

This didnt work in MAC m1.

Sorry for the late reply. But I think it should work on any machine . ?