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
Wrong versions for yarn preventing rails from starting when creating a fresh 6.0 app #37132
Comments
Setting All |
Updated |
After updating yarn to 1.17.3 you should upgrade your modules as well with command |
brew upgrade yarn |
For me it doesn't solve that problem. Yarn version:
Running
Running any
When I move the |
I have a similar setup as marisveide. I want node_modules to be in the parent directory of the Rails.root so that docker container runs with a volume mounted Rails.root do not also volume mount node_modules, which performs lousy on Mac OSX. This is suggested by |
yarn upgrade was helpful. 👍 |
I've experienced the exact same behavior as marisveide and dmlond in a Rails 6.0.2.2 project with node_modules moved outside of the project root. |
thanks man! i have the same problem....thanks a lot! yarn upgrade |
Steps to reproduce
rails new my_app
cd my_app
rails s
Expected behavior
rails should start the server normally and accepts connections on localhost:3000
Actual behavior
The following error is shown:
System configuration
Rails version:
rails 6.0.0
Ruby version:
Ruby 2.6.3
The text was updated successfully, but these errors were encountered: