Wire-desktop: ERROR: There are no scenarios; must have at least one.

Created on 9 Nov 2016  ·  10Comments  ·  Source: wireapp/wire-desktop

when following github README, I clone the repo
but when I run yarn I get:
ERROR: There are no scenarios; must have at least one.
this is Ubuntu 16.10

Most helpful comment

First install npm
$ sudo apt-get install npm
then
$ sudo npm install -g yarn
Sometimes if you face this error (ERROR: There are no scenarios; must have at least one.), you may want to check if you have write permissions to write on that directory.
Do a $ ls -l for permissions and if you don't have write permission create to let yarn command run.

All 10 comments

That is odd. Did you cd wire-desktop? Can you post your terminal output?

Also, what is your node and yarn versions?

yes of course..

cfernandez-Oryx-Pro:~/wire-desktop$
cfernandez@cfernandez-Oryx-Pro:~/wire-desktop$ nodejs --version
v4.2.6
cfernandez@cfernandez-Oryx-Pro:~/wire-desktop$ yarn --version
0.26
cfernandez@cfernandez-Oryx-Pro:~/wire-desktop$ yarn
ERROR: There are no scenarios; must have at least one.
fernandez@cfernandez-Oryx-Pro:~/wire-desktop$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.10
Release:    16.10
Codename:   yakkety

My guess is that yarn is too old.

[conor@Sushi ~]$ node --version
v7.0.0
[conor@Sushi ~]$ yarn --version
0.16.1

Did you install yarn from apt-get or through npm install -g yarn?

Edit: The strange thing is that 0.26 doesn't seem to be a version that has been released: https://github.com/yarnpkg/yarn/releases

Edit 2: You might try adding the nodejs repo: https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions

@ChrisFernandez Yes it looks like your yarn is something totally different from what we expect :) Also please update your node to 6+

Ha! I was just going to say, you are running whatever this yarn is: http://code.liw.fi/cmdtest/yarn.1.txt
It comes from the cmdtest package in Ubuntu.

ahhhh hmm crap!! I knew I should had stick with Arch :) will uninstall at work tomorrow that package cmdtest and try again. Thanks

@ConorIA and @lipis yap that did the trick now is working (yarn) thanks! <3

First install npm
$ sudo apt-get install npm
then
$ sudo npm install -g yarn
Sometimes if you face this error (ERROR: There are no scenarios; must have at least one.), you may want to check if you have write permissions to write on that directory.
Do a $ ls -l for permissions and if you don't have write permission create to let yarn command run.

Also .. don't install yarn in one terminal and try to use it in another terminal that was open before the correct yarn was installed.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

zorbathegreek picture zorbathegreek  ·  3Comments

dwt picture dwt  ·  3Comments

DOFfactory picture DOFfactory  ·  4Comments

AllanDaemon picture AllanDaemon  ·  4Comments

amun1 picture amun1  ·  4Comments