Hyper: Yarn instructions for Ubuntu 17.04

Created on 22 Sep 2017  路  6Comments  路  Source: vercel/hyper

  • [x] I am on the latest Hyper.app version
  • [x] I have searched the issues of this repo and believe that this is not a duplicate
  • OS version and name: Ubuntu 17.04
  • Hyper.app version: e30cbac (I just cloned the repo)
  • Link of a Gist with the contents of your .hyper.js:
  • Relevant information from devtools _(CMD+ALT+I on Mac OS, CTRL+SHIFT+I elsewhere)_:
  • The issue is reproducible in vanilla Hyper.app:

Issue

$ sudo apt install --yes graphicsmagick icnsutils xz-utils
# ... dependencies installed
$ yarn --version
0.27
$ ls -la # I just cloned the repo and I'm in the hyper home directory:
total 652
drwxrwxr-x  13 bost bost   4096 Sep 22 11:31 ./
drwxrwxrwx 125 bost bost   4096 Sep 22 11:18 ../
drwxrwxr-x   9 bost bost   4096 Sep 22 11:19 app/
-rw-rw-r--   1 bost bost    525 Sep 22 11:19 appveyor.yml
drwxrwxr-x   2 bost bost   4096 Sep 22 11:19 assets/
drwxrwxr-x   2 bost bost   4096 Sep 22 11:19 bin/
drwxrwxr-x   2 bost bost   4096 Sep 22 11:19 build/
-rw-rw-r--   1 bost bost    503 Sep 22 11:19 circle.yml
-rw-rw-r--   1 bost bost    188 Sep 22 11:19 .editorconfig
drwxrwxr-x   8 bost bost   4096 Sep 22 11:27 .git/
-rw-rw-r--   1 bost bost     24 Sep 22 11:19 .gitattributes
drwxrwxr-x   2 bost bost   4096 Sep 22 11:19 .github/
-rw-rw-r--   1 bost bost    160 Sep 22 11:19 .gitignore
drwxrwxr-x   9 bost bost   4096 Sep 22 11:19 lib/
-rw-rw-r--   1 bost bost   1069 Sep 22 11:19 license.md
drwxrwxr-x 814 bost bost  36864 Sep 22 11:31 node_modules/
-rw-rw-r--   1 bost bost   4313 Sep 22 11:31 package.json
-rw-rw-r--   1 bost bost 315982 Sep 22 11:31 package-lock.json
-rw-rw-r--   1 bost bost   3822 Sep 22 11:19 readme.md
drwxrwxr-x   4 bost bost   4096 Sep 22 11:19 test/
-rw-rw-r--   1 bost bost    649 Sep 22 11:19 .travis.yml
drwxrwxr-x   2 bost bost   4096 Sep 22 11:19 .vscode/
-rw-rw-r--   1 bost bost    961 Sep 22 11:19 webpack.config.js
drwxrwxr-x   3 bost bost   4096 Sep 22 11:19 website/
-rw-rw-r--   1 bost bost 210039 Sep 22 11:19 yarn.lock
-rw-rw-r--   1 bost bost     18 Sep 22 11:19 .yarnrc
$ yarn
ERROR: There are no scenarios; must have at least one.
$ yarn run dev
ERROR: [Errno 2] No such file or directory: 'run'

???

馃摉 Documentation

All 6 comments

Thanks for reporting this issue! 馃檶

Looks like you have a problem with yarn, maybe look for help @ stackoverflow? This does not seem to an issue with this repo? 馃

Next time, try a google search for your errors. This will very very often give you the answer, or at least point you in the right direction :) This is a great skill to have and you should practise it every day 馃憤

First result for ERROR: There are no scenarios; must have at least one.

Yields this:

You've got the wrong yarn 馃槃 The Yarn you're executing comes from the cmdtest package: http://manpages.ubuntu.com/manpages/xenial/man1/yarn.1.html. Uninstalling cmdtest should fix this.

Closing, feel free to join the community slack if you need more help.

Next time, try a google search for your errors.

Next time try to write on what exactly your software depends on :-(
I think reporting a valid issue in your project was a waste of time. I feel like I won't use/collaborate on/contribue to/etc. your project anymore.

Yes your issue is very valid, but the first thing you should do when encountering any error, is to search google for it, because it's very likely that you are not the only person in the world experiencing this problem.

Next time try to write on what exactly your software depends on :-(

image

But after reading the link, it seems like Ubuntu ships with a command called yarn too, which is causing all this confusion. So you're right @Bost, we should add that to the readme.

Thanks for this issue and sorry if I sounded rude in the first message 馃槥 Did not mean it in that way at all!

I don't see how that is unclear, so please tell me so we can improve 鉂わ笍

I'm closing this here, now people with the same problem can search the issues and find this one to fix it, if we see a lot of people coming here we need to clarify the installation of yarn on latest ubuntu, but I think it's pretty clear if you follow the link to yarnpkg.org.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

daenuprobst picture daenuprobst  路  3Comments

anthonyettinger picture anthonyettinger  路  3Comments

eoinmurray picture eoinmurray  路  3Comments

weabot picture weabot  路  3Comments

cooperpellaton picture cooperpellaton  路  3Comments