Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latest vue-eslint-parser error #208

Open
bretonio opened this issue Dec 23, 2018 · 1 comment
Open

Latest vue-eslint-parser error #208

bretonio opened this issue Dec 23, 2018 · 1 comment

Comments

@bretonio
Copy link

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.

@RiFi2k
Copy link

RiFi2k commented Jan 9, 2019

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.

@sesemaya sesemaya changed the title Latest vue-eslint-parser Error Latest vue-eslint-parser error Jan 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants