Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu 16.04: Error in the terminal #207

Closed
gusbemacbe opened this issue Mar 3, 2017 · 6 comments
Closed

Ubuntu 16.04: Error in the terminal #207

gusbemacbe opened this issue Mar 3, 2017 · 6 comments

Comments

@gusbemacbe
Copy link

I installed nodejs before, but when I tried to install cerebro via terminal, I got an error:

$ cd cerebro && yarn && cd ./app && yarn && cd ../
ERROR: There are no scenarios; must have at least one.

Thank you for your attention!

@dar5hak
Copy link
Contributor

dar5hak commented Mar 3, 2017

Get rid of the && and try those commands one by one. Which one yields the error?

@gusbemacbe
Copy link
Author

It still gave the same error, but I discovered something.

It was prevented by cmdtest installed from Ubuntu. I removed cmdtest and replaced for yarn installed from npm install yarn, after ugrading to nodejs 7.

Unfortunately, after running cd cerebro && yarn && cd ./app && yarn && cd ../, it gave some errors of compatibility and download, Cerebro started, but after closing the terminal, Cerebro app does not start anymore. I saved two texts, one with script-commanded and another without script-commanded via terminal (I selected and copied all) and attach them for you.

Terminal 1 - clean copy of all the terminal
Terminal 2 - copy from script

terminal.txt
terminal2.txt

@KELiON
Copy link
Collaborator

KELiON commented Mar 7, 2017

@gusbemacbe looks like terminal2.txt is cut. Can you attach full version?

Also, still would be better if you can run command-by-command and see where you have an issue:

cd cerebro
yarn 
cd ./app
yarn 
cd ../

@gusbemacbe
Copy link
Author

Here are the three separated files output from script via terminal.

1 - cd cerebro && yarn.txt
2 - cd ./app && yarn.txt
3 - cd ../ && yarn run dev.txt

@joseph-zhong
Copy link

I'm running Ubuntu 14.04 and I believe I have the same issue, if I just run yarn I get ERROR: There are no scenarios; must have at least one.

@KELiON
Copy link
Collaborator

KELiON commented Jun 29, 2017

@joseph-zhong you also run yarn from cmdtest, uninstall it with sudo apt remove cmdtest.

More details: yarnpkg/yarn#2821

@KELiON KELiON closed this as completed Jun 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants