You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yarn 4.x is now stable, but ghost-cli still assumes yarn 1.x is being used because during the ghost install local process, the yarn install --no-emoji command is used, which yarn 4.x does not allow.
Steps to Reproduce
corepack enable
yarn init
yarn set version 4.5.3
yarn add ghost-cli@latest
mkdir emptydir &&cd emptydir
yarn exec ghost install local
I expected the command yarn exec ghost install local to succeed like it does when using yarn 1.x in the project:
$ yarn exec ghost install local
yarn exec v1.22.22
warning package.json: No license field
Love open source? We’re hiring JavaScript Engineers to work on Ghost full-time.
https://careers.ghost.org
✔ Checking system Node.js version - found v20.18.1
✔ Checking current folder permissions
✔ Checking memory availability
✔ Checking free space
✔ Checking for latest Ghost version
✔ Setting up install directory
✔ Downloading and installing Ghost v5.105.0
✔ Finishing install process
✔ Configuring Ghost
✔ Setting up instance
✔ Starting Ghost
Ghost uses direct mail by default. To set up an alternative email method read our docs at https://ghost.org/docs/config/#mail
------------------------------------------------------------------------------
Ghost was installed successfully! To complete setup of your publication, visit:
http://localhost:2368/ghost/
Done in 358.02s.
The text was updated successfully, but these errors were encountered:
harry643
changed the title
Installation errors when using Yarn 4.x - "Unsupported option name ("--no-emoji")."
Installation error when using Yarn 4.x - "Unsupported option name ("--no-emoji")."
Dec 20, 2024
Summary
Yarn 4.x is now stable, but ghost-cli still assumes yarn 1.x is being used because during the
ghost install local
process, theyarn install --no-emoji
command is used, which yarn 4.x does not allow.Steps to Reproduce
I expected the command
yarn exec ghost install local
to succeed like it does when using yarn 1.x in the project:Log file
Technical details
Bug submission checklist
The text was updated successfully, but these errors were encountered: