GithubHelp home page GithubHelp logo

spawn yarn ENOENT about ghost-cli HOT 4 CLOSED

tryghost avatar tryghost commented on April 28, 2024
spawn yarn ENOENT

from ghost-cli.

Comments (4)

acburdine avatar acburdine commented on April 28, 2024 1

@loskiq Ghost-CLI uses Yarn to install dependencies, and you're missing Yarn - so you will need to install it first, as is noted in the installation documentation πŸ˜„

from ghost-cli.

ErisDS avatar ErisDS commented on April 28, 2024

Hmmm... this for me is a blocking reason why we should not be using yarn in here ☹️

It's not at all my expectation that we would use yarn to install ghost cli. The expectation is:

npm i -g ghost-cli
ghost install || ghost install local

If we want to somehow make use of yarn for installing dependencies of Ghost that's one thing but enforcing users to install yarn before Ghost is a no-go.

from ghost-cli.

acburdine avatar acburdine commented on April 28, 2024

@loskiq So this is issue will be fixed in the next release of Ghost-CLI. Yarn is now included in Ghost-CLI's dependencies, so that should fix any issues πŸ˜„

from ghost-cli.

ajmalbinabdulaziz avatar ajmalbinabdulaziz commented on April 28, 2024

Ofiicial ghost doc says either Yarn or NPM to manage packages >> https://ghost.org/docs/install/local/
But you can't install ghost locally without yarn. Anyway that's great. Whatever the features are, a cms should be developer friendly, that's the first thing, it should be installed without wasting hours searching in the forums for solution. Even if you install yarn, it still doesn't work, another error pops up complaining about yarn >>"yarn: error: no such option: --no-emoji"

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.