eas-cli icon indicating copy to clipboard operation
eas-cli copied to clipboard

EAS Cli is not recognized after installation

Open kralion opened this issue 1 year ago • 4 comments

Build/Submit details page URL

I am wanting to build but i can't because of that error

Summary

I installed eas cli from the docs, with npm install --global eas-cli after succesful installation i check for eas login but i shows me this. even restarting my OS

image image

Managed or bare?

Bare

Environment

expo-env-info 1.2.0 environment info: System: OS: Windows 11 10.0.22621 Binaries: Node: 20.10.0 - C:\Program Files\nodejs\node.EXE Yarn: 1.22.19 - ~\scoop\apps\yarn\current\bin\yarn.CMD npm: 10.7.0 - C:\Program Files\nodejs\npm.CMD

Error output

Terminal reloaded

image

Reproducible demo or steps to reproduce from a blank project

it is happening with all my projects

kralion avatar May 09 '24 17:05 kralion

I'm facing the same issue too. Still have not figured out the solution for this! I have 3 projects finished but cannot build because of this one issue!

AbishekVimal avatar May 16 '24 21:05 AbishekVimal

It doesn't seem like an issue/bug with EAS CLI. It looks like a problem with your Node installation on a Windows machine - binaries installed via npm don't seem to be added to PATH.

I would start with finding the directory where node and npm are installed on your machine, then look for the bin dir with the eas executable in it. If you add this dir to your PATH you should have it working.

szdziedzic avatar May 20 '24 12:05 szdziedzic

My node installation is configured correctly, idk why but the unique command that i can't run is eas image image

kralion avatar May 20 '24 22:05 kralion

use eas command with npx was worked for me. for examlpe: npx eas update

furkanuzundev avatar May 24 '24 14:05 furkanuzundev

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.

github-actions[bot] avatar Jun 24 '24 00:06 github-actions[bot]

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.

github-actions[bot] avatar Jul 01 '24 00:07 github-actions[bot]

I'm facing the same issue too. Still have not figured out the solution for this! "eas": "^0.1.0", "expo": "~51.0.18",

linjinxing avatar Jul 08 '24 20:07 linjinxing

work for me npm install -g eas-cli and npm uninstall -g eas

linjinxing avatar Jul 08 '24 20:07 linjinxing

work for me npm install -g eas-cli and npm uninstall -g eas

What?, what i have to do first ?

odaytelbany avatar Sep 03 '24 17:09 odaytelbany

npm install -g eas-cli
# or
yarn global add eas-cli

for me using npm solved the issue

FlavioScimeca avatar Sep 30 '24 20:09 FlavioScimeca

you can try using with npx like npx eas <your commands>. it worked for me

idflxw0 avatar Apr 04 '25 10:04 idflxw0

It's working, fixed with npx

kralion avatar Apr 05 '25 13:04 kralion

Here is how I solved it:

  • Opened the Command Prompt as an Administrator to execute the command, then npm install -g eas-cli or yarn global add eas-cli
  • Restarted the PC, and I was good to go.

Mr-Roy-alt avatar May 16 '25 01:05 Mr-Roy-alt