Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

964
Views
No puedo ejecutar vue cli en Ubuntu - Error: no se puede acceder al archivo jar /snap/vue/1/jar/vue-1.0-SNAPSHOT.jar

Estoy tratando de instalar vue cli por primera vez.

Intenté usar npm install -g @vue/cli y yarn global add @vue/cli y parece instalarse correctamente.

Pero si ejecuto vue create my-project o vue --version , obtengo el siguiente error:

 Picked up _JAVA_OPTIONS: -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel openjdk version "1.8.0_242" 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

Mi sistema operativo es Ubuntu.

over 4 years ago · Santiago Trujillo
6 answers
Answer question

0

intentemos sudo snap remove vue obtendrá algo como: "vue remove", luego intente: vue en la terminal y vea si funciona. h

over 4 years ago · Santiago Trujillo Report

0

Lo arreglé usando el comando vue-init en lugar de vue init (que he leído que era el correcto). Todo el comando utilizado fue:

vue-init webpack-simple your-project-name

Luego, Vue-cli le hará una serie de preguntas, como el nombre del proyecto, la descripción y el autor.

Espero que ayude.

over 4 years ago · Santiago Trujillo Report

0

Tuve el mismo problema, para resolver:

  1. Eliminar el vue usando snap
 sudo snap remove vue
  1. Luego instale vue globalmente a través de npm o yarn
 npm install -g @vue/cli

O

 yarn global add @vue/cli
over 4 years ago · Santiago Trujillo Report

0

Tuve el mismo problema mencionado, pero se debe a que no otorgué privilegios de administrador a la instalación. Por lo tanto, tuve que darle un privilegio de administrador a la instalación escribiendo:

 sudo npm install -g @vue/cli

Luego, cuando necesito crear el proyecto Vue, escribo

 sudo vue create <project_name>

y funciona bien

over 4 years ago · Santiago Trujillo Report

0

Esta solución funcionó para mí en mi sistema Ubuntu:

npm:

 sudo snap remove vue && npm install -g @vue/cli

Hilo:

 sudo snap remove vue && yarn global add @vue/cli

Luego vuelva a abrir su terminal.

over 4 years ago · Santiago Trujillo Report

0

Usé estos comandos:

 sudo snap remove vue sudo npm install -g @vue/cli

Luego creó el proyecto Vue:

 sudo vue create <project_name>
over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!