question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Message: Command failed: yarn install --no-emoji --no-progress

See original GitHub issue

Hi,

I am newbie Ghost trying to run the first basic command ghost install local but it does not work.

Please help me review this weird bug. Below is the log & thank you.

Log file

Message: Command failed: yarn install --no-emoji --no-progress
Usage: yarn [options]

yarn: error: no such option: --no-emoji


Exit code: 2

--------------- stderr ---------------
Usage: yarn [options]

yarn: error: no such option: --no-emoji

Technical details

This is automatically output by Ghost-CLI if an error occurs, please copy & paste:

Debug Information: OS: Ubuntu, v20.04.1 LTS Node Version: v10.19.0 Ghost-CLI Version: 1.15.2 Environment: development Command: ‘ghost install local’

Bug submission checklist

Please fill out this checklist to acknowledge that you followed the requirements to submit a bug report.

  • [ v ] Tried to find help in the forum & docs
  • [ v ] Checked for existing issues
  • [ v ] Attached log file
  • [ v ] Provided technical details incl. operating system

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
acburdinecommented, Feb 3, 2021

I’ll do some digging - Ghost-CLI should be installing the right version of yarn, as well as using it, but perhaps there’s something we need to fix to ensure we use the version of yarn that the CLI installs and not any other version on the system.

0reactions
chnthkksncommented, Aug 7, 2022

I had the same issue and downgraded node to 14. Now it’s working fine.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Command failed: yarn install --no-emoji --no-progress
I've attempted to force the installation to continue, but this error continues. Debug Information: OS: Ubuntu, v20.04.4 LTS Node Version: v16.
Read more >
yarn install
yarn install is used to install all dependencies for a project. ... Running yarn with no command will run yarn install , passing...
Read more >
Ghost Package Install Error - DigitalOcean
Message : Command failed: yarn install --no-emoji --no-progress warning ghost@3.15.2: The engine "cli" appears to be invalid. warning ...
Read more >
Ask Question - Stack Overflow
Every yarn command gives "error . ... Command: 'ghost install local' Message: Command failed: yarn install --no-emoji --no-progress error .
Read more >
yarn • help - helpmanual.io
Usage: yarn [command] [flags] ... --version output the version number --verbose output verbose messages on internal operations --offline trigger an error if ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found