-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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 installation requirement missing in Getting Started guide #38322
Comments
Experiencing the same issue. ruby 2.6.5p114 |
Experiencing the same issue. I think the same applies for NodeJS. Seems like the following section of the getting started guide needs an update do you guys agree ? @NeilsC @potentialize |
You might just need to run |
I had the same problem, and this is the solution. However, the real problem was that running |
I am new to Rails, so I followed this guide: https://guides.rubyonrails.org/getting_started.html. The first couple of times
rails server
did not work. Turns out that Rails depends on Yarn, and since Yarn was not installed on my computer,rails new
could not set up my project properly.Steps to reproduce
Set up a new Rails project on a computer that does not have Yarn installed.
Expected behavior
Follow the Getting Started guide, Rails works without an issue.
Actual behavior
Follow the Getting Started guide,
rails server
spits aRuntimeError
because it depends on Yarn. Since Yarn was not installed on my computer,rails new
could not set up Rails properly for me.System configuration
Rails version: Rails 6.0.2.1
Ruby version: ruby 2.6.4p104 (2019-08-28 revision 67798) [x86_64-linux]
Stack trace (for completion)
The text was updated successfully, but these errors were encountered: