Skip to content

problem with npm install script #4460

Description

@tachi555

Build/Submit details page URL

No response

Summary

I am trying to us react expo but using nvm as node js manager and installed the eas-cli using "npm install --global eas-cli". the cli is installed but the problem is eas is not a recognize commans so i have to do 2 things:

  1. add environment variables to path with nvm node folder v24.21.0\node_modules\eas-cli\bin
  2. rename run.cmd to eas.cmd
    after this eas commands works. is this safe to do or i did something wrong or is it because of using nvm?

Managed or bare?

Bare

Environment

eas login

Error output

eas : The term 'eas' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1

  • eas login
  •   + CategoryInfo          : ObjectNotFound: (eas:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException
    
    

Reproducible demo or steps to reproduce from a blank project

install eas cli on node js that is installed using nvm (Node Version Manager)

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs reviewIssue is ready to be reviewed by a maintainer

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions