Giter Club home page Giter Club logo

Comments (85)

brentvatne avatar brentvatne commented on June 3, 2024 204

fixed in [email protected] - please update to this version. there was a change on the apple api server side, and this new eas-cli version accounts for this change.

from eas-cli.

brentvatne avatar brentvatne commented on June 3, 2024 45

thanks, we will investigate this.

you can use eas build --non-interactive to skip the apple auth prompt and used stored app signing credentials to work around this issue for now.

i'll lock the issue for now so that this comment is easily discoverable, and we'll follow up shortly.

from eas-cli.

andersonmiranda-com avatar andersonmiranda-com commented on June 3, 2024 33

I had the same issue. Reinstalling eas-cli worked for me:

npm install -g eas-cli

from eas-cli.

pera14 avatar pera14 commented on June 3, 2024 31

what work for me and it's so strange is

  • reinstall eas yarn global add eas-cli
  • remove it npm uninstall -g eas-cli
  • reinstall again yarn global add eas-cli

Might help someone

This didn't work for me, however, I reinstalled npm global eas-cli:

npm uninstall -g eas-cli
npm install -g eas-cli

after that I just reinstalled node_modules and it worked for me

from eas-cli.

Niravpatel129 avatar Niravpatel129 commented on June 3, 2024 24

+1 having this issue too

from eas-cli.

ashkan-ahmadi avatar ashkan-ahmadi commented on June 3, 2024 9

I was getting the same error. I ran npm install -g eas-cli and that fixed the issue

from eas-cli.

lucasbastianik avatar lucasbastianik commented on June 3, 2024 9
npm uninstall -g eas-cli
npm install -g eas-cli

from eas-cli.

mthomas100 avatar mthomas100 commented on June 3, 2024 8

@brentvatne

fixed in [email protected] - please update to this version. there was a change on the apple api server side, and this new eas-cli version accounts for this change.

I uninstalled eas-cli and reinstalled [email protected] . Unfortunately I'm still getting the same error upon running eas build --profile staging --platform ios . Tried adding --clear-cache but it doesn't help.

can you try eas --version what version it shows? also where eas

also try in eas file adding

  "cli": {
    "version": ">= 7.2.0",
  },

npm install -g eas-cli (to update eas-cli) in combination with this eas.json change resolved the issue for me

from eas-cli.

ChristopherBanas avatar ChristopherBanas commented on June 3, 2024 5

This is why I love expo, thank you for the fast work

from eas-cli.

ahmdshrif avatar ahmdshrif commented on June 3, 2024 4
npm uninstall -g eas-cli
npm install -g eas-cli

this is work for me .

from eas-cli.

MariuzM avatar MariuzM commented on June 3, 2024 3

@brentvatne

fixed in [email protected] - please update to this version. there was a change on the apple api server side, and this new eas-cli version accounts for this change.

I uninstalled eas-cli and reinstalled [email protected] . Unfortunately I'm still getting the same error upon running eas build --profile staging --platform ios . Tried adding --clear-cache but it doesn't help.

can you try eas --version what version it shows?
also where eas

also try in eas file adding

  "cli": {
    "version": ">= 7.2.0",
  },

from eas-cli.

ramisalem avatar ramisalem commented on June 3, 2024 3

what work for me and it's so strange is

  • reinstall eas yarn global add eas-cli
  • remove it npm uninstall -g eas-cli
  • reinstall again yarn global add eas-cli

Might help someone

from eas-cli.

fabioglimb avatar fabioglimb commented on June 3, 2024 2

Still not working after updating [email protected] and specifying the version in eas.json file

from eas-cli.

VicOrlands avatar VicOrlands commented on June 3, 2024 2

Reinstall eas-cli worked for me

npm uninstall -g eas-cli
npm install -g eas-cli

This solved it for me.

from eas-cli.

maxsl89 avatar maxsl89 commented on June 3, 2024 2

npm install -g eas-cli

helped!

from eas-cli.

bitcoinbrisbane avatar bitcoinbrisbane commented on June 3, 2024 2

i fixed by updating eas.json

nvm use 18.17.1
npm install -g eas-cli
{
  "cli": {
    "version": "7.3.0"
  },

from eas-cli.

hassanzeaiter avatar hassanzeaiter commented on June 3, 2024 1

Same

I updated eas-cli again and it's working now.

from eas-cli.

amamenko avatar amamenko commented on June 3, 2024 1

My version of eas-cli wasn't updating due to using nvm to manage multiple Node versions:

% which eas
/Users/current/.nvm/versions/node/v16.17.0/bin/eas

% node -v
v20.10.0

% nvm use v20.10.0
Now using node v20.10.0 (npm v10.2.3)

% which eas
/Users/current/.nvm/versions/node/v20.10.0/bin/eas

% npm install -g eas-cli
changed 408 packages in 5s

38 packages are looking for funding
  run `npm fund` for details
  
% eas -v
eas-cli/7.2.0 darwin-arm64 node-v20.10.0

Make sure you are installing eas-cli while using the correct Node version.

from eas-cli.

hamzalakrati avatar hamzalakrati commented on June 3, 2024 1

eas 7.2.0 is working for me!

from eas-cli.

d0sc avatar d0sc commented on June 3, 2024 1

@brentvatne

fixed in [email protected] - please update to this version. there was a change on the apple api server side, and this new eas-cli version accounts for this change.

I uninstalled eas-cli and reinstalled [email protected] . Unfortunately I'm still getting the same error upon running eas build --profile staging --platform ios . Tried adding --clear-cache but it doesn't help.

can you try eas --version what version it shows? also where eas
also try in eas file adding

  "cli": {
    "version": ">= 7.2.0",
  },

npm install -g eas-cli (to update eas-cli) in combination with this eas.json change resolved the issue for me

I can confirm this worked for me.

from eas-cli.

hicodify avatar hicodify commented on June 3, 2024 1

I just upgraded to the latest version of the CLI and the problem seems to be solved. Thanks!!!!

from eas-cli.

AnhTP-Corize avatar AnhTP-Corize commented on June 3, 2024 1

Reinstall eas-cli worked for me

npm uninstall -g eas-cli
npm install -g eas-cli

from eas-cli.

rahulraoe avatar rahulraoe commented on June 3, 2024 1

npm install -g eas-cli
Run this and the cli will be upgraded to 7.3 and that will fix the issue.

from eas-cli.

w8ze-devel avatar w8ze-devel commented on June 3, 2024 1

Uninstalling & re installing eas-cli (thus installing version 7.3) worked for me too.

from eas-cli.

pradelkai avatar pradelkai commented on June 3, 2024 1

Updating the cli is confirmed working on my end.

from eas-cli.

iAhtasham avatar iAhtasham commented on June 3, 2024 1

I am still getting this error on version eas cli 7.3.0,
Authentication with Apple Developer Portal failed!
Apple provided the following error info:
Service not available because of maintenance activities, please try again after some time.
Error: build command failed.

I am still facing the same issue on eas-cli/7.3.0

PS D:\Projects\React Native> eas --version
eas-cli/7.3.0 win32-x64 node-v18.15.0
PS D:\Projects\React Native> eas build --profile production --platform ios
Loaded "env" configuration for the "production" profile: no environment variables specified. Learn more: https://docs.expo.dev/build-reference/variables/
√ Using remote iOS credentials (Expo server)

If you provide your Apple account credentials we will be able to generate all necessary build credentials and fully validate them.
This is optional, but without Apple account access you will need to provide all the missing values manually and we can only run minimal validation on them.
√ Do you want to log in to your Apple account? ... yes

› Log in to your Apple Developer account to continue
√ Apple ID: ... *************
› Restoring session C:\Users*.app-store\auth*******\cookie
› Session expired Local session
› The password is only used to authenticate with Apple and never stored on EAS servers
Learn more: https://bit.ly/2VtGWhU
√ Password (for ************): ... ***************
› Saving Apple ID password to the local Keychain
Learn more: https://docs.expo.dev/distribution/security#keychain
√ Logged in New session
Authentication with Apple Developer Portal failed!
Apple provided the following error info:
Service not available because of maintenance activities, please try again after some time.
Error: build command failed.

from eas-cli.

alantvu avatar alantvu commented on June 3, 2024

also having this issue

from eas-cli.

baristikir avatar baristikir commented on June 3, 2024

I'm facing the same issue stated here, builds for ios platform were working fine a few days ago but are breaking today all of sudden...

from eas-cli.

mthomas100 avatar mthomas100 commented on June 3, 2024

Suddenly having this issue too when running eas build --profile development --platform ios

from eas-cli.

vbpns avatar vbpns commented on June 3, 2024

+1

from eas-cli.

afsadilson avatar afsadilson commented on June 3, 2024

++1

from eas-cli.

frechg avatar frechg commented on June 3, 2024

+1, Building with no issues yesterday.

from eas-cli.

eudiegosilva avatar eudiegosilva commented on June 3, 2024

+1

from eas-cli.

timohaver avatar timohaver commented on June 3, 2024

+1

EAS CLI 7.1.3 environment info:
    System:
      OS: macOS 14.3.1
      Shell: 5.9 - /bin/zsh
    Binaries:
      Node: 20.11.0 - ~/.nvm/versions/node/v20.11.0/bin/node
      npm: 10.4.0 - ~/.nvm/versions/node/v20.11.0/bin/npm
    Utilities:
      Git: 2.39.3 - /usr/bin/git
    npmPackages:
      expo: ~50.0.5 => 50.0.6 
      expo-dev-client: ~3.3.8 => 3.3.8 
      react: 18.2.0 => 18.2.0 
      react-native: 0.73.4 => 0.73.4 
    npmGlobalPackages:
      eas-cli: 7.1.3
    Project workflow: managed

from eas-cli.

Jonatthu avatar Jonatthu commented on June 3, 2024

Same here with latest eas-cli

from eas-cli.

AmitayCohen1 avatar AmitayCohen1 commented on June 3, 2024

Same

from eas-cli.

strbavaclav avatar strbavaclav commented on June 3, 2024

+1

from eas-cli.

hassanzeaiter avatar hassanzeaiter commented on June 3, 2024

Same

from eas-cli.

awwbaw3 avatar awwbaw3 commented on June 3, 2024

Same

from eas-cli.

mikeRChambers610 avatar mikeRChambers610 commented on June 3, 2024

+1

from eas-cli.

lukas-sitkauskas avatar lukas-sitkauskas commented on June 3, 2024

+1

from eas-cli.

vitor-rmcosta avatar vitor-rmcosta commented on June 3, 2024

Same here

from eas-cli.

MaheshtheDev avatar MaheshtheDev commented on June 3, 2024

I am facing same issue too all of the sudden!

from eas-cli.

danielgolan avatar danielgolan commented on June 3, 2024

+1

from eas-cli.

meerbex avatar meerbex commented on June 3, 2024

Having the same issue,
There was no issue yesterday, it appeared today only!!

from eas-cli.

druckhead avatar druckhead commented on June 3, 2024

Having the same issue

from eas-cli.

export-mike avatar export-mike commented on June 3, 2024

same here +1

from eas-cli.

MariuzM avatar MariuzM commented on June 3, 2024

Same, was working fine 2 days ago
eas-cli/7.1.3 darwin-arm64 node-v20.11.0

So looks like nothing works when you need to build either in preview or production, once it needs that communication with apple error comes up. Feels like Apple changed something because older versions of eas is same issue.

from eas-cli.

expo-bot avatar expo-bot commented on June 3, 2024

Thank you for filing this issue!
This comment acknowledges we believe this may be a bug and there’s enough information to investigate it.
However, we can’t promise any sort of timeline for resolution. We prioritize issues based on severity, breadth of impact, and alignment with our roadmap. If you’d like to help move it more quickly, you can continue to investigate it more deeply and/or you can open a pull request that fixes the cause.

from eas-cli.

MariuzM avatar MariuzM commented on June 3, 2024

Thank you, worked great for old and new projects

from eas-cli.

rei-shaholli avatar rei-shaholli commented on June 3, 2024

Awesome works !!!

from eas-cli.

penicillin0 avatar penicillin0 commented on June 3, 2024

[email protected] で修正されました - このバージョンに更新してください。Apple API サーバー側に変更があり、この新しい eas-cli バージョンはこの変更を反映しています。

This works for me! Thank you!

from eas-cli.

rsnr avatar rsnr commented on June 3, 2024

@brentvatne

fixed in [email protected] - please update to this version. there was a change on the apple api server side, and this new eas-cli version accounts for this change.

I uninstalled eas-cli and reinstalled [email protected] . Unfortunately I'm still getting the same error upon running eas build --profile staging --platform ios .
Tried adding --clear-cache but it doesn't help.

from eas-cli.

rsnr avatar rsnr commented on June 3, 2024

@brentvatne

fixed in [email protected] - please update to this version. there was a change on the apple api server side, and this new eas-cli version accounts for this change.

I uninstalled eas-cli and reinstalled [email protected] . Unfortunately I'm still getting the same error upon running eas build --profile staging --platform ios . Tried adding --clear-cache but it doesn't help.

can you try eas --version what version it shows? also where eas

also try in eas file adding

  "cli": {
    "version": ">= 7.2.0",
  },

eas --version returns: eas-cli/7.2.0 darwin-arm64 node-v18.18.0
I added "cli": { "version": ">= 7.2.0" } and it works!
Thank you.

from eas-cli.

hsiez avatar hsiez commented on June 3, 2024

Not sure if this is helpful but the same issue happened last year in feb too

from eas-cli.

brteller avatar brteller commented on June 3, 2024

Not sure if anyone else is having this issue, but whenever I grab the latest version it constantly reverts back to the previous version. I see someone had a similar issue, but forcing it in eas.json did not work for me as the global dependency doesn't appear to be updating past the previous version. I've tried to upgrade it globally through yarn and npm using sudo and no luck. Curious if anyone else is having trouble grabbing version 7.2.0 from 7.1.2

UPDATE:
I was able to solve this from the help of this thread: https://forums.expo.dev/t/impossible-to-upgrade-eas-cli-version/73019

Hopefully if someone hits this problem this will help!

from eas-cli.

guillaumegaluz avatar guillaumegaluz commented on June 3, 2024

Thanks @brentvatne!

from eas-cli.

thomasgataly avatar thomasgataly commented on June 3, 2024

works with 7.2.0 thanks @brentvatne

from eas-cli.

TomasSestak avatar TomasSestak commented on June 3, 2024

7.2.0 works perfectly

from eas-cli.

alberttsg avatar alberttsg commented on June 3, 2024

yarn global add eas-cli

from eas-cli.

fabioglimb avatar fabioglimb commented on June 3, 2024

In my specific case, the authentication flow with Apple works, but if I'm trying to create a build for an identifier which has an expired or missing Distribution Certificate/Provisioning Profile, it gives me an error. The request to Apple Developer seems to fail because the files aren't created on the Apple Developer section.

I even tried deleting the Apple authentication cookie saved locally and logging in again; the authentication flow and team selection works fine.

Meanwhile, I solved the issue by uploading directly on the Expo Dashboard the Distribution Certificate (or selecting another one) and Provisioning Profile. If someone has encountered the same error and knows how to solve it, it would be appreciated.

from eas-cli.

HakanPuente avatar HakanPuente commented on June 3, 2024

I have eas-cli/7.2.0, but it still giving

Authentication with Apple Developer Portal failed!
Cookie not in this host's domain. Cookie:developer-mdn.apple.com Request:developer.apple.com
    Error: build command failed.

from eas-cli.

pera14 avatar pera14 commented on June 3, 2024

+1

from eas-cli.

amitchaudhary140 avatar amitchaudhary140 commented on June 3, 2024

7.2.0 works fine.

from eas-cli.

pera14 avatar pera14 commented on June 3, 2024

I'm not sure if it's relevant here, but since I moved to 7.2.0 I'm having this issue on build:

/Users/expo/workingdir/build/node_modules/cliui/build/index.cjs:291
const stringWidth = require('string-width');
                    ^

Error [ERR_REQUIRE_ESM]: require() of ES Module /Users/expo/workingdir/build/node_modules/string-width/index.js from /Users/expo/workingdir/build/node_modules/cliui/build/index.cjs not supported.
Instead change the require of index.js in /Users/expo/workingdir/build/node_modules/cliui/build/index.cjs to a dynamic import() which is available in all CommonJS modules.
    at Object.<anonymous> (/Users/expo/workingdir/build/node_modules/cliui/build/index.cjs:291:21)
    at Object.<anonymous> (/Users/expo/workingdir/build/node_modules/yargs/build/index.cjs:1:60678)
    at Object.<anonymous> (/Users/expo/workingdir/build/node_modules/yargs/index.cjs:5:30)
    at Object.<anonymous> (/Users/expo/workingdir/build/node_modules/react-native/scripts/generate-specs-cli.js:12:15) {
  code: 'ERR_REQUIRE_ESM'
}

Node.js v18.18.0
Command PhaseScriptExecution failed with a nonzero exit code

from eas-cli.

daavidwlf avatar daavidwlf commented on June 3, 2024

Still having the issue that i can't update the eas-cli. "eas -v" returns:

[email protected] is now available.
To upgrade, run npm install -g eas-cli.
Proceeding with outdated version.
eas-cli/5.9.3 darwin-arm64 node-v21.6.1

I tried all of the above solutions but nothing seems to help.

from eas-cli.

daavidwlf avatar daavidwlf commented on June 3, 2024

npx eas -v rerturns the correct version. Also when using npx eas everything works as expectet. Does anyone know what's wrong. Do I have two versions of eas-cli installed?

from eas-cli.

nabn avatar nabn commented on June 3, 2024

still getting this with npx setup-safari on eas 7.2.0

eas -v: eas-cli/7.2.0 darwin-arm64 node-v19.9.0

npx setup-safari:

Cookie not in this host's domain. Cookie:developer-mdn.apple.com Request:developer.apple.com

from eas-cli.

watert avatar watert commented on June 3, 2024

FYI my case: if you install expo-cli in package.json dependencies (like dev deps), and upgrade it to 7.2 with expo 49 may trigger an config_plugins_1.Updates.getRuntimeVersionNullableAsync is not a function error.

Just use npm / yarn to uninstall / remove it from deps, and force run cli from global can fix this issue.

from eas-cli.

Vel1khan avatar Vel1khan commented on June 3, 2024

+1 also having this issue

from eas-cli.

maufernandezdev avatar maufernandezdev commented on June 3, 2024

this command worked for me: eas build -p ios --non-interactive --skip-credentials-check

from eas-cli.

kyallopaw avatar kyallopaw commented on June 3, 2024

I was getting the same error. I ran npm install -g eas-cli and that fixed the issue

Mine too.

from eas-cli.

MarceloNascc avatar MarceloNascc commented on June 3, 2024

+1

from eas-cli.

madelineleclair avatar madelineleclair commented on June 3, 2024

Upgrading to the latest version of the CLI also fixed this for me.

from eas-cli.

AyoCodess avatar AyoCodess commented on June 3, 2024

what work for me and it's so strange is

  • reinstall eas yarn global add eas-cli
  • remove it npm uninstall -g eas-cli
  • reinstall again yarn global add eas-cli

Might help someone

This didn't work for me, however, I reinstalled npm global eas-cli:

npm uninstall -g eas-cli
npm install -g eas-cli

after that I just reinstalled node_modules and it worked for me

this worked for me

from eas-cli.

hellotreedigital avatar hellotreedigital commented on June 3, 2024

thanks, we will investigate this.

you can use eas build --non-interactive to skip the apple auth prompt and used stored app signing credentials to work around this issue for now.

i'll lock the issue for now so that this comment is easily discoverable, and we'll follow up shortly.

THANK YOU!

from eas-cli.

woz6622 avatar woz6622 commented on June 3, 2024

worked again with eas-cli 7.2.0

from eas-cli.

davidthornton avatar davidthornton commented on June 3, 2024

Absolute legends (npm uninstall, npm install; however this did cost me 3 identical Android builds 😂)

from eas-cli.

nabn avatar nabn commented on June 3, 2024

npx setup-safari still not working on my end. Can anyone check for me?

from eas-cli.

Peek-A-Booo avatar Peek-A-Booo commented on June 3, 2024

I was getting the same error. I ran npm install -g eas-cli and that fixed the issue

Thanks!

from eas-cli.

emrahyurttutan avatar emrahyurttutan commented on June 3, 2024

thanks, we will investigate this.

you can use eas build --non-interactive to skip the apple auth prompt and used stored app signing credentials to work around this issue for now.

i'll lock the issue for now so that this comment is easily discoverable, and we'll follow up shortly.

Thanks! @brentvatne @maufernandezdev

from eas-cli.

Rico00121 avatar Rico00121 commented on June 3, 2024

thanks, we will investigate this.
you can use eas build --non-interactive to skip the apple auth prompt and used stored app signing credentials to work around this issue for now.
i'll lock the issue for now so that this comment is easily discoverable, and we'll follow up shortly.

Thanks! @brentvatne @maufernandezdev

This worked for me! thanks! plz fix this bug ASAP : )

from eas-cli.

123epsilon avatar 123epsilon commented on June 3, 2024

Running npm install -g eas-cli worked for me, does anyone know why this occurs?

from eas-cli.

sendaimono avatar sendaimono commented on June 3, 2024

I am still getting this error on version eas cli 7.3.0, Authentication with Apple Developer Portal failed! Apple provided the following error info: Service not available because of maintenance activities, please try again after some time. Error: build command failed.

I am still facing the same issue on eas-cli/7.3.0

PS D:\Projects\React Native> eas --version eas-cli/7.3.0 win32-x64 node-v18.15.0 PS D:\Projects\React Native> eas build --profile production --platform ios Loaded "env" configuration for the "production" profile: no environment variables specified. Learn more: https://docs.expo.dev/build-reference/variables/ √ Using remote iOS credentials (Expo server)

If you provide your Apple account credentials we will be able to generate all necessary build credentials and fully validate them. This is optional, but without Apple account access you will need to provide all the missing values manually and we can only run minimal validation on them. √ Do you want to log in to your Apple account? ... yes

› Log in to your Apple Developer account to continue √ Apple ID: ... ************* › Restoring session C:\Users***.app-store\auth*********\cookie › Session expired Local session › The password is only used to authenticate with Apple and never stored on EAS servers Learn more: https://bit.ly/2VtGWhU √ Password (for ************): ... *************** › Saving Apple ID password to the local Keychain Learn more: https://docs.expo.dev/distribution/security#keychain √ Logged in New session Authentication with Apple Developer Portal failed! Apple provided the following error info: Service not available because of maintenance activities, please try again after some time. Error: build command failed.

upgrade to 7.5.0

from eas-cli.

Ty-HA avatar Ty-HA commented on June 3, 2024

Hello
I got exactly same problem and I can't upgrade to eas 7.6.2, even after uninstall it, I did these
npm uninstall -g eas-cli
npm cache clean --force
npm install -g eas-cli

But I always got these:
$ eas --version
[email protected] is now available.
To upgrade, run npm install -g eas-cli.
Proceeding with outdated version.

eas-cli/7.3.0 win32-x64 node-v18.17.1

I am stucked with 7.3.0 why ?

I can't build ios "Authentication with Apple Developer Portal failed! Apple provided the following error info: Service not available because of maintenance activities, please try again after some time. Error: build command failed."

from eas-cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.