Just upgraded eas-cli
and expo-cli
and am now receiving the following error when calling eas build
:
TypeError: Cannot read property 'withBranch' of undefined
.
More info:
info "eas-cli@0.33.1" has binaries:
- eas
info "expo-cli@4.12.10" has binaries:
- expo
- expo-cli
I guess it may be due to the scheduled downtime
im getting this too right now
doesn’t happen in eas-cli 0.33.0 so i’m sticking to it for now - please let us know if there were any breaking changes or config that’s now required for eas builds
@apferreira90 thanks for the heads up. I’m doing the same now and it seems to work
wodin
October 24, 2021, 11:44pm
6
Could you please create an issue at Issues · expo/expo · GitHub with as much detail as possible?
pixi
October 26, 2021, 1:39pm
7
I’m getting the same error. Did you get to creating an issue on github @10000multiplier ?
wodin
October 26, 2021, 1:41pm
8
@pixi
Doesn’t look like anyone created one. Could you?
pixi
October 26, 2021, 2:17pm
9
Absolutely, I will do so later this evening. But isn’t this related to the eas repo? I’m getting the error using the eas build command.
wodin
October 26, 2021, 2:35pm
10
Good point. Then I suppose here would be better
Does reverting to eas-cli
0.33.0
also fix it for you?
@pixi didn’t see the need to go through the hassle of creating a reproducible repo as I fixed the issue by downgrading.
There’s only two commits between 0.33.0 and 0.33.1 so that’s where we should be looking to find the bug that slipped in.
pixi
October 26, 2021, 3:41pm
12
Okay! Yes, I don’t have time to create a “minimal reproducible repo” either, I can create an issue without that, but I guess it won’t get much attention without it.
Will try to downgrade to the version you mentioned for now.
@wodin , thank you for your time anyhow.
1 Like
are you using yarn to install eas-cli globally? please try uninstalling and then installing globally with npm
1 Like
@notbrent yes I was using yarn global. Uninstalling and reinstalling with npm globally did the trick. Error is gone!
pixi
October 27, 2021, 5:48am
15
Is there a difference? They both install the same package, don’t they? Maybe I’ll try the same, but it should work equally good with yarn global.
wodin
October 27, 2021, 3:23pm
16
Indeed it should, but there seems to be some sort of weird yarn bug. Here’s another thread where something went wrong with a yarn global install:
yep, I had to run these commands:
yarn global remove eas-cli
yarn global add eas-cli@latest
pixi
October 27, 2021, 8:16pm
17
Thanks for the hint @wodin , will definitely check that out.
system
Closed
November 16, 2021, 8:17pm
18
This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.