Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

input command yarn --version error #6356

Closed
lwbtt0915 opened this issue Sep 5, 2018 · 4 comments
Closed

input command yarn --version error #6356

lwbtt0915 opened this issue Sep 5, 2018 · 4 comments
Assignees
Labels

Comments

@lwbtt0915
Copy link

C:\zdjt\soft\Yarn>yarn --version
'C:\Program' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
Unrecognized option: --version
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

@ghost ghost assigned torifat Sep 5, 2018
@ghost ghost added the triaged label Sep 5, 2018
@lwbtt0915
Copy link
Author

C:\zdjt\soft\Yarn>yarn --version
'C:\Program' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
Unrecognized option: --version
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

@probil
Copy link

probil commented Oct 3, 2018

Are you sure yarn is installed globally?

@PLQin
Copy link

PLQin commented Dec 9, 2018

Try these solutions: #601

@probil
Copy link

probil commented Dec 9, 2018

It seems like there is something called yarn written in Java (not JavaScript) installed on you machine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants