Open abhilashfyi opened 5 years ago
Same issue
I've had the same issue and I do have a ghost install.
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.
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 usingcd /var/www/ghost/
and then used Ghost commands. Worked for me.
Very helpful. Thanks.
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 usingcd /var/www/ghost/
and then used Ghost commands. Worked for me.
it works! thanks ;)
You're welcome. I'm glad it's working for us haha!
This didnt work in MAC m1.
Use NodeJS version 18 (Hydrogen). This solves it for me.
A bit late to this thread but still facing this output even after updating to latest node-js
This didnt work in MAC m1.
Sorry for the late reply. But I think it should work on any machine . ?
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