title: I can't run vue cli in Ubuntu - Error: Unable to access jarfile /snap/vue/1/jar/vue-1.0-SNAPSHOT.jar
body: <p>I am trying to install vue cli for the first time.</p>
  <p>I tried using <code>npm install -g @vue/cli</code> and <code>yarn global add @vue/cli</code> and it seems to install correctly.</p>
  <p>But if I run <code>vue create my-project</code> or <code>vue --version</code>, I get the following error:</p>
  <pre><code>Picked up _JAVA_OPTIONS: -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel
  openjdk version &quot;1.8.0_242&quot;
  OpenJDK Runtime Environment (build 1.8.0_242-8u242-b08-0ubuntu3~18.04-b08)
  OpenJDK 64-Bit Server VM (build 25.242-b08, mixed mode)
  Error: Unable to access jarfile /snap/vue/1/jar/vue-1.0-SNAPSHOT.jar
  </code></pre>
  <p>My operative system is Ubuntu.</p>