-
Notifications
You must be signed in to change notification settings - Fork 85
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
[EAS Build] EAS Build should adhere to the package manager version set in package.json #2401
Comments
Hi @pmk1c, It makes sense. I will try to add support for it and make it the first place to look for package manager + its version 👍 |
Thank you for filing this issue! |
1 similar comment
Thank you for filing this issue! |
Hello, i'm using turborepo monorepo and trying to build some apps. If in my root there is a packageManager prop like this: that is automatically added by turborepo, i'd get this error in eas log: We detected that 'APP_NAME' is a yarn workspace Do you have any suggestion of why is happening? Also i'm using npm as package manager. Thank you |
@szdziedzic sorry to ping you but it would be helpful to know something about it. Thanks |
I think I have the same issue: |
Hi @SanderPeeters, I assume you want to use NPM as your project manager, right? Do you have a lock file generated by yarn in your repo by any chance? |
Hi, thx for answering me! It's correct that I want NPM to use as a package manager. I have a package-lock.json file in my root folder, but no yarn.lock. When I'm creating a 'regular' build (not using he custom build scheme), it correctly detects that there's a package-lock.json file. But the custom build scheme doesn't recognize this for some reason. |
I will check if I can replicate it, thanks! |
I deployed a PR to fix the package manager resolution logic for custom builds. Can you check if it fixed your issue? |
Please note: It still doesn't mean we added support for the |
Hi @szdziedzic. With eas-cli/10.2.1 darwin-x64 node-v18.19.0 it worked fine. To be honest the first build failed because during the post-install(need to do this right know has i mention #2463) Thank you so much! |
This issue is stale because it has been open for 30 days with no activity. If there is no activity in the next 7 days, the issue will be closed. |
This issue was closed because it has been inactive for 7 days since being marked as stale. Please open a new issue if you believe you are encountering a related problem. |
I was confused at first, when I noticed that EAS ignores the
packageManager
field inpackage.json
. I think this should be the first place to look for, when EAS decides, which package manager and which version to use.The text was updated successfully, but these errors were encountered: