• Empleos
  • Sobre nosotros
  • profesionales
    • Inicio
    • Empleos
    • Cursos y retos
  • empresas
    • Inicio
    • Publicar vacante
    • Nuestro proceso
    • Precios
    • Evaluaciones
    • Nómina
    • Blog
    • Comercial
    • Calculadora de salario

0

263
Vistas
VUE_APP_PUBLIC_PATH no está definido

Tengo un proyecto vue.js en Typescript , comencé

npm ejecutar servir

seguí recibiendo

 >98% after emitting CopyPlugin ERROR Failed to compile with 2 errors 2:36:43 PM error Template execution failed: ReferenceError: VUE_APP_PUBLIC_PATH is not defined ReferenceError: VUE_APP_PUBLIC_PATH is not defined - index.html:4 eval [.]/[html-webpack-plugin]/lib/loader.js!./public/index.html:4:11 - index.html:13 module.exports [.]/[html-webpack-plugin]/lib/loader.js!./public/index.html:13:3 - index.js:284 [trace]/[html-webpack-plugin]/index.js:284:18 - runMicrotasks - task_queues.js:95 processTicksAndRejections internal/process/task_queues.js:95:5 No type errors found Version: typescript 4.1.6 Time: 3996ms

ingrese la descripción de la imagen aquí

.env

línea 5: tengo esto

 VUE_APP_PUBLIC_PATH=./

¿El compilador Vue.js busca ese indicador en otro archivo que debería agregar? ¿Estoy afectado por algún tipo de problema de caché?

almost 3 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Nuestro proceso Comercial
Legal
Términos y condiciones Política de privacidad
© 2025 PeakU Inc. All Rights Reserved.

Andres GPT

Recomiéndame algunas ofertas
Necesito ayuda