carpoolear icon indicating copy to clipboard operation
carpoolear copied to clipboard

Errors and warning during installation

Open angelovolpato opened this issue 3 years ago • 1 comments

Helllo, I am trying to install frontend, and when I run "npm run dev" I have the following output:


WARNING Compiled with 3 warnings6:09:36 PM

Module Warning (from ./node_modules/eslint-loader/index.js):

⚠ http://eslint.org/docs/rules/indent Expected indentation of 16 spaces but found 12 src/components/views/UsersCrud.vue:252:1 console.log('toUserMessages then', conversation); ^

✘ http://eslint.org/docs/rules/no-dupe-keys Duplicate key 'active' src/components/views/UsersCrud.vue:246:17 active: this.currentUser.active > 0 ^

✘ 2 problems (1 error, 1 warning)

Errors: 1 http://eslint.org/docs/rules/no-dupe-keys

Warnings: 1 http://eslint.org/docs/rules/indent

Module Warning (from ./node_modules/eslint-loader/index.js):

✘ http://eslint.org/docs/rules/no-multi-spaces Multiple spaces found before 'this' src/components/views/Login.vue:191:129 const message = userNotActive ? this.$t('paraIngresarCuenta') : (userBanned ? this.$t('usuarioBanneado') : this.$t('emailOContra')); ^

✘ 1 problem (1 error, 0 warnings)

Errors: 1 http://eslint.org/docs/rules/no-multi-spaces

Module Warning (from ./node_modules/eslint-loader/index.js):

✘ http://eslint.org/docs/rules/no-undef-init It's not necessary to initialize 'tripId' to undefined src/store/modules/conversations.js:73:13

✘ 1 problem (1 error, 0 warnings)

Errors: 1 http://eslint.org/docs/rules/no-undef-init

You may use special comments to disable some warnings. Use // eslint-disable-next-line to ignore the next line. Use /* eslint-disable */ to ignore all warnings in a file. WARNING Compiled with 3 warnings6:09:36 PM

Module Warning (from ./node_modules/eslint-loader/index.js):

⚠ http://eslint.org/docs/rules/indent Expected indentation of 16 spaces but found 12 src/components/views/UsersCrud.vue:252:1 console.log('toUserMessages then', conversation); ^

✘ http://eslint.org/docs/rules/no-dupe-keys Duplicate key 'active' src/components/views/UsersCrud.vue:246:17 active: this.currentUser.active > 0 ^

✘ 2 problems (1 error, 1 warning)

Errors: 1 http://eslint.org/docs/rules/no-dupe-keys

Warnings: 1 http://eslint.org/docs/rules/indent

Module Warning (from ./node_modules/eslint-loader/index.js):

✘ http://eslint.org/docs/rules/no-multi-spaces Multiple spaces found before 'this' src/components/views/Login.vue:191:129 const message = userNotActive ? this.$t('paraIngresarCuenta') : (userBanned ? this.$t('usuarioBanneado') : this.$t('emailOContra')); ^

✘ 1 problem (1 error, 0 warnings)

Errors: 1 http://eslint.org/docs/rules/no-multi-spaces

Module Warning (from ./node_modules/eslint-loader/index.js):

✘ http://eslint.org/docs/rules/no-undef-init It's not necessary to initialize 'tripId' to undefined src/store/modules/conversations.js:73:13

✘ 1 problem (1 error, 0 warnings)

Errors: 1 http://eslint.org/docs/rules/no-undef-init

angelovolpato avatar Feb 19 '22 17:02 angelovolpato

Try running npm run lint:fix

p4bl1t0 avatar Feb 23 '22 20:02 p4bl1t0