-
-
Notifications
You must be signed in to change notification settings - Fork 227
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
"ghost install local" error in windows #228
Comments
Somehow the ghost cli debug file can't be found. The first step would be to reproduce this bug on windows. |
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. |
That's definitely a problem - good catch! However, there's likely another error happening here. Ghost-CLI won't try to log to a debug file unless something else goes wrong. @biswajit-saha would you be able to remove the |
@acburdine I will love to do the test. But, I can't find the ghost-CLI folder in my machine. I have searched in global node_module and npm folder but can't find anything. Any clue, where I can find the above mention file in my pc? |
@biswajit-saha ah sorry that file's only in master - try looking here: https://github.com/TryGhost/Ghost-CLI/blob/1.0.0-alpha.19/lib/ui.js#L201 |
Sorry, I am very nobo at this part. I normally work with HTML, CSS :) |
Never mind, I have found the required info in readme. I will give it a try at night and let you know the result. |
@acburdine here is the log file's content
|
refs #228 - remove potentially invalid path characters from debug log name
refs TryGhost/Ghost-CLI#228 - don't try to reinvent path.isAbsolute
PSA for those in this issue: The bug is actually with Ghost and not with the CLI - so until a new version of Ghost is released this unfortunately can't be fixed on the CLI side. |
Anyone have an update on this? I have the same problem, anything i can do to help? |
@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. |
@acburdine Thx for your reply, great work with the PR, lets hope the ghost them merges fast. For now im doing a raw npm install in a folder just to get started. Take care. |
refs TryGhost/Ghost-CLI#228 - don't try to reinvent path.isAbsolute
Should be resolved via https://github.com/TryGhost/Ghost-CLI/blob/1.0.0-beta.4/lib/system.js#L316 and TryGhost/Ghost#8641. Please re-open if you still experience a problem on windows 👍 |
PSA: this will only be fixed after a new version of Ghost is released. |
Reopening this issue because even after the new Ghost release, something still isn't working right. Would anyone on this issue be willing to download the latest Ghost-CLI version and see if it works? The tests I did in Appveyor weren't passing correctly, but I don't have a windows box so I'm not able to debug at the moment. |
Can do tomorrow 👍 |
Hello, I am trying to install ghost on Windows 10 but I get this error message.
Contents of log file are:
Any solution? Thanks Update: This issue was resolved, thanks to @acburdine. |
PSA: as of ghost-cli 1.0.0-rc.3, HOWEVER, there is one small gotcha. There will be another shell window opened that is marked simply as a node process. Don't close that second window as that's the actual running Ghost blog. Unfortunately there's not an easy way around this, so it has to be there. |
I 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
Automatically generated config.development.json file
Folder structure after the installation
http://prntscr.com/fo87ro
Is there any more data should I provide?
The text was updated successfully, but these errors were encountered: