GithubHelp home page GithubHelp logo

Comments (20)

acburdine avatar acburdine commented on April 28, 2024

@emolchanov Based on what you've shown, I'm not entirely sure what error is occurring, but it appears that the npm install ghost command is hanging up on one of its dependencies. I'm going to take a look later at changing from npm over to yarn, so we'll see if that helps at all.

Would you be willing/able to provide a better description of your environment so I can further help debug this?

from ghost-cli.

emolchanov avatar emolchanov commented on April 28, 2024

@acburdine, sure :) What do you need?

from ghost-cli.

ecwyne avatar ecwyne commented on April 28, 2024

I am having the exact same issue. Literally left it running overnight to no avail. Happy to help in any way I can

node: v6.9.4
npm: 3.10.10
macOS: 10.12.2
iTerm2: 3.0.13
ghost-cli: 1.0.0-alpha.8

from ghost-cli.

acburdine avatar acburdine commented on April 28, 2024

@ecwyne sorry you're having trouble as well!

Can both of you update to 1.0.0-alpha.9 (of the CLI, just published it) and see if that solves the issue with ghost install local?

If that doesn't fix the issue, I'm planning on refactoring the CLI tool to use Yarn here soon, so it should make it a little more stable wrt the installation process.

from ghost-cli.

ecwyne avatar ecwyne commented on April 28, 2024

@acburdine thanks for the rapid response!

Just updated to 1.0.0-alpha.9 and still seems to get stuck at the same place.
Downloading and installing Ghost v1.0.0-alpha.9

from ghost-cli.

acburdine avatar acburdine commented on April 28, 2024

@emolchanov @ecwyne I just released a new version of the CLI (1.0.0-alpha.10) - can you try that and let me know if the issue is fixed?

The new version uses Yarn rather than npm - so you'll need to install Yarn first πŸ˜„ Fortunately though - it should improve reliability of things tremendously.

from ghost-cli.

ecwyne avatar ecwyne commented on April 28, 2024

screen shot 2017-01-28 at 1 45 19 pm

from ghost-cli.

acburdine avatar acburdine commented on April 28, 2024

@ecwyne so - the issue there is that Ghost by default tries to run on a system stack that is Ubuntu 16, nginx, and systemd-based. The problem you're getting is because you're trying to run this on a mac.

In the next version, there will be more strides given to ensure that ^ error doesn't occur, and the process manager falls back to the local one, but for the moment just run ghost install local instead.

(Also, that was the original title of the issue, so if ghost install local works now then I'll close this πŸ˜‰)

from ghost-cli.

ecwyne avatar ecwyne commented on April 28, 2024

I actually realized that I ran ghost i without local so I started that right after I sent that picture. It's Starting ghost now. Install went MUCH faster thanks to yarn caching! πŸ˜„

from ghost-cli.

ecwyne avatar ecwyne commented on April 28, 2024

Not sure how long "Starting Ghost" should take, but it's looked like this for maybe 5 mins.
screen shot 2017-01-28 at 1 53 27 pm

from ghost-cli.

ecwyne avatar ecwyne commented on April 28, 2024

After leaving this running for 30 minutes it still was saying "Starting Ghost"

I then

  1. Stopped the process
  2. Ran ghost config
  3. Ran ghost run

screen shot 2017-01-28 at 2 40 03 pm

from ghost-cli.

acburdine avatar acburdine commented on April 28, 2024

@ecwyne try running ghost run -D ghost install local uses the development NODE_ENV, so if you want to use the config created for a local setup you have to run Ghost in development as well.

from ghost-cli.

ecwyne avatar ecwyne commented on April 28, 2024

I WAS able to start the server when I ran ghost run -D though I still get lots of Error: Cannot find module './build/Release/DTraceProviderBindings' errors

I cleared the directory and started over again one more time, got stuck at Starting Ghost but then checked if localhost:2368 was working and it WAS.

from ghost-cli.

acburdine avatar acburdine commented on April 28, 2024

Hmm...ok - would you be willing to hop on the ghost slack channel here? https://slack.ghost.org
We can chat in real time there.

Ping me once you're on (username: austin) and we can hopefully get this resolved quicker :)

from ghost-cli.

acburdine avatar acburdine commented on April 28, 2024

I'm actually fairly certain that the bug that caused this issue initially is the same bug that caused the second issue - this should be fixed in #139

from ghost-cli.

acburdine avatar acburdine commented on April 28, 2024

@emolchanov @ecwyne Released this fix with Ghost-CLI 1.0.0-alpha.11 - please let me know if you have further issues πŸ˜„

from ghost-cli.

emolchanov avatar emolchanov commented on April 28, 2024

@acburdine with Ghost-CLI 1.0.0-alpha.11 all is ok πŸ‘ thx

from ghost-cli.

emolchanov avatar emolchanov commented on April 28, 2024

@acburdine but after install, if I stop ghost with ghost stop and try to start it again with ghost start I have an error on macOs Sierra.

image

from ghost-cli.

acburdine avatar acburdine commented on April 28, 2024

@emolchanov So if you installed with ghost install local - you'll need to start it with ghost start -D, because ghost start by default tries to start Ghost in the production environment.

I'll do some messaging improvements this week too to try and improve the UI around this, but as a workaround ghost start -D will work πŸ˜„

from ghost-cli.

emolchanov avatar emolchanov commented on April 28, 2024

@acburdine ok, thanks.

from ghost-cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.