Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

1.4K
Views
Yarn ERROR: No hay escenarios; debe tener al menos uno

Traté de instalar Yarn y cuando usé el comando yarn obtuve:

 00h00m00s 0/0: : ERROR: There are no scenarios; must have at least one.

mi yarn --version es 0.32 . ¿Por qué no funciona?

over 4 years ago · Santiago Trujillo
3 answers
Answer question

0

Parece que estaba tratando de ejecutar el hilo incorrecto, porque simplemente ejecutar sudo apt install yarn en mi Ubuntu 18.04 me dio hilo de cmdtest .

Así que lo resolví desinstalándolo:

 sudo apt remove yarn

Y instalándolo como explica la web oficial , que en mi caso (Ubuntu 18.04) fue el siguiente:

 curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list sudo apt update && sudo apt install yarn yarn
over 4 years ago · Santiago Trujillo Report

0

Tienes el hilo equivocado. El hilo que está ejecutando proviene del paquete cmdtest . Desinstalar cmdtest primero debería solucionar esto:

sudo apt remove cmdtest

Una vez que lo hayas desinstalado, ejecuta los siguientes comandos para instalar yarn correctamente:

 curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list sudo apt update sudo apt install yarn
over 4 years ago · Santiago Trujillo Report

0

El nombre real que debe usar al instalar es yarnpkg

 sudo apt install yarnpkg

Esa es la solución.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!