EAS Cli is not recognized after installation
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
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
Reproducible demo or steps to reproduce from a blank project
it is happening with all my projects
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!
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.
My node installation is configured correctly, idk why but the unique command that i can't run is eas
use eas command with npx was worked for me. for examlpe: npx eas update
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.
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.
I'm facing the same issue too. Still have not figured out the solution for this! "eas": "^0.1.0", "expo": "~51.0.18",
work for me npm install -g eas-cli and npm uninstall -g eas
work for me npm install -g eas-cli and npm uninstall -g eas
What?, what i have to do first ?
npm install -g eas-cli
# or
yarn global add eas-cli
for me using npm solved the issue
you can try using with npx like npx eas <your commands>. it worked for me
It's working, fixed with npx
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.