-
Notifications
You must be signed in to change notification settings - Fork 96
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
Cssbundling-rails 1.4.3 using bun in project, which using yarn and contain yarn.lock #169
Comments
Does your package.json has a packageManager field, it could be interesting to choose tools from that perhaps. |
"packageManager": "[email protected]", in package.json present @navidemad |
I think bun mean |
Hello, I'm experiencing the same issue We're using yarn classic 1.22.22 (for this particular project) The original I've tried by adding:
but the result does not change: running
As a workaround, I've uninstalled bun |
We just should remove Also, for such cases as in #165 create config variable, which will set js package manager and will use it instead autodetection mechanism (so person can set |
I will try a PR |
@le0pard @navidemad The lockfile & command sniffing approach keeps fixing one setup while breaking another—there are a lot of possible combinations of existing lockfiles and commands. Adding config that allows differentiating the build command from the package manager seems like the best path. 👍 I encountered the same basic problem in rails/jsbundling-rails#213, which I now realize may fix my setup and break another's. I think the two gems should align on their solution, so I'm keeping an eye on this so I can update that PR accordingly. |
Hello.
In project we are using yarn 4.6.0. All works till version 1.4.2 included.
1.4.3 now thinking if system have
bun
installed, it run it and generatebun.lock
file in project. Which is incorrect behaviour, because project have onlyyarn.lock
and managed byyarn
. Installedbun
in system doesn't mean project usingbun
.Thanks
Looks like issue was introduced by #165
The text was updated successfully, but these errors were encountered: