SemkoDev / field.cli

WE HAVE MOVED TO A NEW REPOSITORY
https://gitlab.com/semkodev/field.cli
ISC License
34 stars 7 forks source link

yarn (ERROR: There are no scenarios; must have at least one.) #6

Closed footloosejava closed 6 years ago

footloosejava commented 6 years ago

$ yarn ERROR: There are no scenarios; must have at least one.

Building locally, please specify correct yarn instructions.

Thanks.

footloosejava commented 6 years ago

Bad yarn install. Fixed.

flarn2006 commented 6 years ago

To be more specific, @footloosejava was running an entirely different program that also happens to be called yarn. It seems to be somewhat of a common mistake, because when you don't have yarn installed, Ubuntu says you can install it from the apt package cmdtest, which actually contains that other, unrelated yarn. So people install it without realizing they're instead installing a package completely unrelated to what they need.

Just thought I'd post that in case anyone else has this problem—if you're getting this error when trying to use yarnpkg, that is certainly the problem. Do apt purge cmdtest (unless you still need cmdtest for something else) and follow the installation instructions on the yarn website.