Skip to content

'yarn' is not recognized as an internal or external command, operable program or batch file. #2504

Closed
@rhtpandeyIN

Description

@rhtpandeyIN

nodejs version: 7.4.0
OS: Windows 7

I installed yarn by using yarn.msi file, and it installed successfully. But when I tried to check yarn version on my system I got following error:
'yarn' is not recognized as an internal or external command,
operable program or batch file.

At first glance I thought it may issue of incorrect PATH or may be PATH is not set by msi. Then I checked my system PATH and I found correct PATH is already there.

Solution: the problem was one extra "\" was missing after bin.
before : C:\Program Files (x86)\Yarn\bin (Not working)
After : C:\Program Files (x86)\Yarn\bin\ (Working)

Please look into the issue. Thanks.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions