-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
npm run build typescript compile errors #4482
Comments
Can't reproduce. How did you install the dependencies? If you used Yarn, which will ignore |
I see in your PR that you added a yarn.lock, so yes that's what is happening. The stricter types are probably fine, but including yarn.lock is not. |
Got it. I force pushed an update that adds |
What is adding yarn.lock to gitignore intended to solve? It sounds like all that would do is let people install using Yarn (and get different dependencies) and not realize it. |
So what's the solution if somebody runs |
Google search to find this bug report or ask in discord? |
I force pushed w/o |
My hope would be that they would notice git saying there's a yarn.lock where there was none before, and they'd look into it further. I don't know that there's a reasonable way to immediately error when someone runs |
I added a note to not use yarn in |
When running
npm run build
The text was updated successfully, but these errors were encountered: