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

Yarn instructions for Ubuntu 17.04 #2263

Closed
2 tasks done
Bost opened this issue Sep 22, 2017 · 6 comments
Closed
2 tasks done

Yarn instructions for Ubuntu 17.04 #2263

Bost opened this issue Sep 22, 2017 · 6 comments
Labels
📖 Documentation Issue pertains to documentation of Hyper

Comments

@Bost
Copy link

Bost commented Sep 22, 2017

  • I am on the latest Hyper.app version
  • 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'

???

@albinekb
Copy link
Contributor

albinekb commented Sep 22, 2017

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? 🤔

@albinekb
Copy link
Contributor

albinekb commented Sep 22, 2017

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.

@Bost
Copy link
Author

Bost commented Sep 22, 2017

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.

@albinekb
Copy link
Contributor

albinekb commented Sep 22, 2017

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!

@albinekb
Copy link
Contributor

I don't see how that is unclear, so please tell me so we can improve ❤️

@albinekb albinekb reopened this Sep 22, 2017
@albinekb albinekb changed the title yarn: ERROR: [Errno 2] No such file or directory: 'run' Yarn instructions for Ubuntu 17.04 Sep 22, 2017
@albinekb albinekb added the 📖 Documentation Issue pertains to documentation of Hyper label Sep 22, 2017
@albinekb
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📖 Documentation Issue pertains to documentation of Hyper
Projects
None yet
Development

No branches or pull requests

2 participants