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

1.6K
Views
nuevo proyecto VueJS - eslint-loader - TypeError: eslint.CLIEngine no es un constructor

Estoy comenzando un nuevo proyecto de VueJS en WebStorm . Creé un nuevo proyecto VueJS , actualicé NPM , agregué Vuetify y después de iniciar el servidor, aparece este 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)

¿Cómo puedo arreglar esto? ¿Debo degradar eslint ?

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

La actualización de ESLint 2019.1.3 resuelve este problema. Mira esto

Es posible que necesite:

  • Actualice su IDE para obtener la última versión de ESLint

  • O actualice ESLint

  • Alternativamente, hay un truco aquí , que implica actualizar cómo se importa es-lint. Por ejemplo:

    Cambio

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

    para

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

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!