expo / eas-cli

Fastest way to build, submit, and update iOS and Android apps
https://docs.expo.dev/eas/
MIT License
676 stars 74 forks source link

EAS Cli is not recognized after installation #2369

Open kralion opened 3 weeks ago

kralion commented 3 weeks ago

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

AbishekVimal commented 2 weeks ago

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!

szdziedzic commented 1 week ago

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.

kralion commented 1 week ago

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

furkanuzundev commented 1 week ago

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