-
-
Notifications
You must be signed in to change notification settings - Fork 10.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to install and run Ghost from Source on Windows 11 #17704
Comments
Here are my Git Bash install logs also for one of the attempts |
Okay. So I managed to fix the first issue of I haven't sorted the second issue yet. Still looking at what's causing it and where it's happening. Just as a quick reminder. This is the second issue: |
Some extra info. Installing Ghost locally using this tutorial works perfectly fine, but installing from Source doesn't work. |
If doesn't break anything on your system, could you try renaming your C: drive folder to not have spaces? If that fixes it, then Ghost has a bug about handling paths with spaces in them. |
Hello, I see you have a directory named with spaces on your C drive (C:\Shaun Roselt Development). The paths function is not able to recognize paths with spaces in between the name. Hence the reason for the Type error. C:\Shaun-Roselt-Development\Ghost\Ghost\ghost\core |
Hi. Did you test this on your side? Is the spaces definitely the issue? |
Hi,
|
The funny thing is I will change to a ubuntu system just to check. |
Our bot has automatically marked this issue as stale because there has not been any activity here in some time. The issue will be closed soon if there are no further updates, however we ask that you do not post comments to keep the issue open if you are not actively working on a PR. We keep the issue list minimal so we can keep focus on the most pressing issues. Closed issues can always be reopened if a new contributor is found. Thank you for understanding 🙂 |
Issue Summary
I am trying to install and run Ghost from Source, but I'm having issue after issue. It's just not working for me. I tried following this tutorial, but that's not working either.
I've tried using Windows Terminal (PowerShell), Visual Studio Code Terminal, and Git Bash. With Git Bash, I am able to make the best progression.
This is my exact Windows 11 Version and Build:
Steps to Reproduce
In the most simple steps (not following the above tutorial). Here they are:
yarn global add knex-migrator ember-cli
yarn
This completes without any errors. Just a bunch of warnings and info:
yarn setup
yarn dev
And then here is where the errors start:
ERROR Unable to activate the theme "casper".
andUnable to activate the theme "casper".
:Notice also this error,
Error: ENOENT: no such file or directory, copyfile 'C:\Shaun Roselt Development\Ghost\Ghost\ghost\core\core\frontend\src\admin-auth\index.html' -> 'C:\Shaun Roselt Development\Ghost\Ghost\ghost\core\content\public\admin-auth\index.html'
, but the weird thing here is that that file that it saysno such file or directory
, I can clearly see that it does exist and it is there:yarn fix
as that is what the console recommends at the bottom, but it doesn't fix the issue. Afteryarn fix
is done, then I doyarn setup
andyarn dev
again, but it's still the same. The exact same errors with the Casper theme are there:Ghost/ghost/core/content/themes/casper
:Restarting 'Index.js'
for 15min+ when I ranyarn dev
:So in conclution. This didn't work either.
Ghost Version
5.59.0
Node.js Version
18.17.1 LTS
How did you install Ghost?
From https://ghost.org/docs/install/source/ on Windows 11
Database type
MySQL 5.7
Browser & OS version
No response
Relevant log / error output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: