Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

215
Vistas
new VueJS project - eslint-loader - TypeError: eslint.CLIEngine is not a constructor

I'm starting a new VueJS project in WebStorm. I've created a new VueJS project, upgraded NPM, added Vuetify and after starting the server, it raises this error:

 ERROR  Failed to compile with 1 errors                                                                                                                                                                          11:34:19 AM

Module build failed (from ./node_modules/@vue/cli-plugin-eslint/node_modules/eslint-loader/index.js):
TypeError: eslint.CLIEngine is not a constructor
    at Object.module.exports (/home/milano/WebstormProjects/xxx/node_modules/@vue/cli-plugin-eslint/node_modules/eslint-loader/index.js:223:27)

How can I fix this? Should I downgrade eslint?

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

ESLint update 2019.1.3 solves this issue. See this

You may need to:

  • Upgrade your IDE to get the latest version of ESLint

  • Or upgrade ESLint

  • Alternatively, there is a hack here, which involves updating how es-lint is imported. For example:

    Change

    this.CliEngine = require(this.basicPath + "lib/cli-engine");

    to

    this.CliEngine = require(this.basicPath).CLIEngine;

about 4 years ago · Juan Pablo Isaza Denunciar
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 Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda