-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
BUG: yarn add fail if .lock file with TABs #8694
Comments
Is it necessary to change the indentation to tabs? Usually the file is generated and you leave it alone. The only time it should be modified (in my experience) manually is when you need to do specific package resolution or vuln fixes of nested dependencies. |
No, it is not. I've done it automatically, then that bug showed up But now i have to add .yarn files to a exclude config, on each new project. What is king of annoying. |
On
create-react-app
/ etc, i've run a conversion of all files' indentation to tabsYarn add
was failing in one project (whilenpm add
was not), and the only way to use it was to delete theyarn.lock
file. Didn't add much packages, so didn't spent time investigating.Then this got happening on a new one.
I've figured out that the problem is it didn't expect to find a TAB indentation instead of space
The text was updated successfully, but these errors were encountered: