Windows 10
Friends good night.
I tried to install yarn from windows using chocolatey, and got this message at the end of the installation:
"Only an exit code of non-zero will fail the package by default. Set
--failonstderrif you want error messages to also fail a script. See
choco -hfor details.
The install of yarn was successful.
Software installed as 'msi', install location is likely default."
However, when testing to see your version, I get the following messages:
PS C:WINDOWSsystem32> yarn --version
yarn : O termo 'yarn' não é reconhecido como nome de cmdlet, função, arquivo de script ou programa operável. Verifique
a grafia do nome ou, se um caminho tiver sido incluÃdo, veja se o caminho está correto e tente novamente.
No linha:1 caractere:1
- yarn --version
- ~~~~
- CategoryInfo : ObjectNotFound: (yarn:String) [], CommandNotFoundException
- FullyQualifiedErrorId : CommandNotFoundException
The same happens if I put:
yarn -v
Thanks!
Remove yarn using chochlaty
Install using npm install -g yarn
Try using yarn -v
close ticket?
Issue resolved guys!
Thanks!
[image: Kingars.Com.BR]
ALEX RODRIGUES
close ticket?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/yarnpkg/yarn/issues/7587?email_source=notifications&email_token=AA7474OGLXW5FCKJL6NFDNLQMT47ZA5CNFSM4I4E6HX2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAF7YQY#issuecomment-537656387,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA7474PGNNGIK4QHGJGDMB3QMT47ZANCNFSM4I4E6HXQ
.
@Kingars - great to hear! Please close this ticket by clicking the button below.
Most helpful comment
Remove yarn using chochlaty
Install using npm install -g yarn
Try using yarn -v