Skip to content
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

Login Issue. #831

Closed
Kumar2106 opened this issue Dec 9, 2021 · 8 comments
Closed

Login Issue. #831

Kumar2106 opened this issue Dec 9, 2021 · 8 comments

Comments

@Kumar2106
Copy link

Summary

I have installed the EAS cli yestered, and tried to login in with my account. i have tried the command eas login but it is giving me error telling

Log in to EAS
error:- Input is required , but stdin is not redeable.

I am unable to login into EAS using cli.

Managed or bare?

Currently it is bare, i have not generated any build till now because of this error.

Environment

EAS CLI 0.39.0 environment info:
System:
OS: Windows 10 10.0.22000
Binaries:
Node: 14.18.1 - C:\Program Files\nodejs\node.EXE
Yarn: No HADOOP_CONF_DIR set.
Please specify it either in yarn-env.cmd or in the environment. - C:\Program Files\hadoop\bin\yarn.CMD
npm: 6.14.15 - C:\Program Files\nodejs\npm.CMD
Utilities:
Git: 2.33.0. - /mingw64/bin/git
npmPackages:
expo: ~43.0.2 => 43.0.4
react: 17.0.1 => 17.0.1
react-dom: 17.0.1 => 17.0.1
react-native: 0.64.3 => 0.64.3
react-native-web: 0.17.1 => 0.17.1
Project workflow: generic

Error output

EXPO_DEBUG=true eas login
Log in to EAS
Error: Input is required, but stdin is not readable.

Reproducible demo or steps to reproduce from a blank project

You have to just enter

eas login

this will produce the error.

@Kumar2106 Kumar2106 added the bug Something isn't working label Dec 9, 2021
@wkozyra95
Copy link
Contributor

there are some issues on windows with detecting whether you are in interactive terminal e.g. nodejs/node#3006

The terminal you are using does not set process.stdout.isTTY correctly, so we can't display prompt for login/password

Try using PowerShell instead

@dsokal dsokal added needs more info and removed bug Something isn't working labels Dec 9, 2021
@Kumar2106
Copy link
Author

I am now using command prompt it is working right now, but i got some another issue, do i need a play console and Apple developer account to use the eas services, because currently i am not having either of them.

@brentvatne
Copy link
Member

you need an apple developer account if you are going to do an internal distribution or app store build for ios. you do not need a google play developer account to build your android app but you do need it to submit it.

@nandorojo
Copy link

I got this same error for a very different cause. I had a GitHub action like this:

      - name: Publish update
        run: eas update --auto

However, since I was in a monorepo, this was running in the root. Adding working-directory fixed that. Pretty obscure case, but figured I'd share in case it happens to anyone else

Solution:

      - name: Publish update
        working-directory: ./apps/expo
        run: eas update --auto

@bernardoeuler
Copy link

I got the same error while trying to build:

       - run: eas build --non-interactive --platform all

Did anyone find a solution that works here too?

@Roshdy
Copy link

Roshdy commented Nov 22, 2022

try run eas update:configure

@erichcervantez
Copy link

Same thing happened to me, but I was trying to use the Git Bash terminal. Switched over to a regular Windows command prompt window and it worked from there.

@samayo
Copy link

samayo commented Mar 24, 2024

Same thing happened to me, but I was trying to use the Git Bash terminal. Switched over to a regular Windows command prompt window and it worked from there.

Thanks a lot. You save me from a miserable experience. I wish the developers didn't release this up until it was stable and functional to use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants