'Yarn' is not recognized as an internal or external command React Native error Solved with example

'Yarn' is not recognized as an internal or external command React Native error Solved with example

yarn : The term 'yarn' 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 yarn add @react-native-google-signin/google-signin ~~~~ CategoryInfo : ObjectNotFound: (yarn:String) [], CommandNotFoundException FullyQualifiedErrorId : CommandNotFoundException 'Yarn' is not recognized as an internal or external command React Native React js Node js Express js Next js Gatsby