Skip to content

Why isn't .yarn/ in .gitignore? #2446

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

Closed
ghost opened this issue Feb 1, 2020 · 5 comments
Closed

Why isn't .yarn/ in .gitignore? #2446

ghost opened this issue Feb 1, 2020 · 5 comments
Labels
support Questions or unspecific problems

Comments

@ghost
Copy link

ghost commented Feb 1, 2020

Why isn't the .yarn/ folder in .gitignore? Am I missing something obvious?

Thanks!

@ghost ghost changed the title [Question] Why isn't .yarn/ in .gitignore? Why isn't .yarn/ in .gitignore? Feb 2, 2020
@jakeNiemiec
Copy link
Member

What version of yarn are you using? (yarn --version)

@ghost
Copy link
Author

ghost commented Feb 7, 2020

Hello @jakeNiemiec,

% yarn --version
2.0.0-rc.27

Here's the content of my .yarn/ folder: https://gist.github.com/ratahtatah/984afa9857f40251f53821b3155b5d0c
And my node_modules/ folder: https://gist.github.com/ratahtatah/7201c886173cf926a4bbe483942c9680

Shouldn't these be in the root of my homedir instead of in my app's folder?

@jakeNiemiec
Copy link
Member

Yarn 2.0 will not work with webpacker yet, you will need yarn 1.x.

@ghost
Copy link
Author

ghost commented Feb 9, 2020

@jakeNiemiec that did the trick, cheers!

@jakeNiemiec
Copy link
Member

@ratahtatah thanks for getting back to us about it. This should produce a warning now.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support Questions or unspecific problems
Projects
None yet
Development

No branches or pull requests

1 participant