Skip to content

Unable to run the commandline:Cannot run program "yarn"  #81

@marcio-inceres

Description

@marcio-inceres

Hi!

I already had my environment configured and working to use RN in terminal. I use node 16 and I have yarn installed and globaly. I use nvm to manage my node versions and I have a .nvmrc file in the app folder.

In terminal, when I run yarn run android it work fine but when I try the react-native run-android button from RN Console, I got the error:

Unable to run the commandline:Cannot run program "yarn" (in directory "not-the-real-path-to-app"): error=2, No such file or directory

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions