Is it possible to force using npm istead of yarn?

I’m using npm and have some specific configuration for private packages installation from gitlab repository and gitlab npm package-registry.

Now, when I’m run eas build --platform android --local --profile development it’s run yarn that fails with "An unexpected error occurred: “Error connecting to repository. Please, check the url.”.

Maybe it is possible to force eas-cli using the npm inside?

eas-cli version is 1.1.0

Hi @p0vidl0

Make sure you have only a package-lock.json and you do not have a yarn.lock file and that you do not have package-lock.json in .gitignore or .easignore. Then it should use npm instead of yarn.

Yup, it’s working. Thant you!

1 Like

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.