Skip to content

Latest vue-eslint-parser error #208

Description

@bretonio

This a help request am I in the right place?

I have downloaded the Daemonite source code and installed it at the root of my project. I have see deed to the daemonite-material folder and run npm install. I have run npm run dist in that root folder of the styles and scripts and have repeatedly received the error

Error: Use the latest vue-eslint-parser

Following advice from this thread I took a shot with the ham-fisted

rm -rf node_modules package-lock.json && npm i

Nada.

Then I noticed that eslint-plugin-vue was not installed locally. But no dice. This does not seem to be a common error.

If you need config files for diagnoses let me know and thanks.

Activity

  1. RiFi2k commented on Jan 9, 2019

    @RiFi2k

    From @mysticatea on that thread has the winner for sure.

    @lincenying Ah, I see. Thank you for your investigation. Yes, this plugin requires the custom parser vue-eslint-parser to parse templates (this setting is included in plugin:vue/recommended). So it conflicts the "parser": "babel-eslint" setting.

    The workaround is here: https://github.com/mysticatea/vue-eslint-parser#-options

    "parserOptions": {"parser": "babel-eslint"} should work.

    Just in case you never figured it out.

  2. changed the title [-]Latest vue-eslint-parser Error[/-] [+]Latest vue-eslint-parser error[/+] on Jan 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions