Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Hadoop YARN vs Yarn package manager command conflict

I'm having an issue with the yarn command on my machine. I have both hadoop and yarn package manager(Javascript) installed on my machine. When I run yarn init it calls hadoop's YARN and responds with :

Error: Could not find or load main class path/to/folder

Can anyone please tell me how to separate the two commands. I am using a 64-bit windows 10 machine.

like image 692
wmik Avatar asked Jun 24 '17 18:06

wmik


1 Answers

Turns out you can just use

yarnpkg 

instead of

yarn
like image 194
wmik Avatar answered Oct 11 '22 13:10

wmik