question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error when installing with @beta

See original GitHub issue

Tell us about your environment

  • ESLint Version: 4.6.1
  • eslint-plugin-vue Version: 3.13.0
  • Node Version: v8.3.0

Please show your full configuration:

module.exports = {
  root: true,
  parser: 'babel-eslint',
  env: {
    browser: true,
    node: true
  },
  extends: [
    'standard',
    'plugin:vue/recommended'
  ],
  plugins: [
    'vue'
  ]
}

What did you do?

eslint --ext .js,.vue --ignore-path .gitignore .

What actually happened? Please include the actual, raw output from ESLint.

Error while loading rule 'vue/no-confusing-v-for-v-if': Cannot convert undefined or null to object
TypeError: Error while loading rule 'vue/no-confusing-v-for-v-if': Cannot convert undefined or null to object
    at Function.keys (<anonymous>)
    at Object.keys.filter.forEach.ruleId (/home/mihail/Documents/Development/nephroxenia-nuxt/node_modules/eslint/lib/linter.js:991:24)
    at Array.forEach (<anonymous>)
    at Linter.verify (/home/mihail/Documents/Development/nephroxenia-nuxt/node_modules/eslint/lib/linter.js:931:95)
    at processText (/home/mihail/Documents/Development/nephroxenia-nuxt/node_modules/eslint/lib/cli-engine.js:203:31)
    at processFile (/home/mihail/Documents/Development/nephroxenia-nuxt/node_modules/eslint/lib/cli-engine.js:245:18)
    at executeOnFile (/home/mihail/Documents/Development/nephroxenia-nuxt/node_modules/eslint/lib/cli-engine.js:585:25)
    at fileList.forEach.fileInfo (/home/mihail/Documents/Development/nephroxenia-nuxt/node_modules/eslint/lib/cli-engine.js:622:13)
    at Array.forEach (<anonymous>)
    at CLIEngine.executeOnFiles (/home/mihail/Documents/Development/nephroxenia-nuxt/node_modules/eslint/lib/cli-engine.js:621:18)

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

5reactions
armano2commented, Sep 8, 2017

please read: https://github.com/vuejs/eslint-plugin-vue#couple-faq

- "parser": "babel-eslint",
  "parserOptions": {
+     "parser": "babel-eslint",
      "ecmaVersion": 2017,
      "sourceType": "module"
  }
0reactions
husaytcommented, Nov 4, 2017

I use these settings, but while it works, it ignores most of js lint issues in vue files. What do I miss?

module.exports = {
  root: true,
  env: {
    browser: true,
    node: true
  },
  extends: [
     "standard",
     "eslint:recommended",
    "plugin:vue/recommended"
  ],
  parserOptions: {
    "parser": "babel-eslint",
    "ecmaVersion": 2017,
    "sourceType": "module"
  },
  // required to lint *.vue files
  plugins: [
    'vue'
  ],
  // add your custom rules here
  rules: {},
  globals: {}
}

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to install iOS 15 beta | Apple Developer Forums
Under Settings > Software Update, I can see the beta. Selecting "Install Now" shows "Verifying update..." for about 5 minutes and then a...
Read more >
8 Solutions to Fix iPhone Unable to Install Update iOS 16/15/14
Solution 4: Remove the Downloaded Profile and Re-install. If iPhone cannot update iOS 16, you can also try to re-download the iOS beta...
Read more >
6 Ways to Fix iOS 16 Software Update Failed (100% Work)
Updating the iOS software can be failed due to several reasons. The worst part is that troubleshooting the problem isn't easy at all....
Read more >
[Fixed] iOS 16 Software Update Failed an Error Occurred
The "Software Update Failed. An error occurred downloading iOS 16" error can happen if your device doesn't have enough free storage space. The...
Read more >
How to Fix "Software Update Failed" Error When Installing iOS ...
If the error is still persistent, the last fix to try is installing iOS 16 manually through IPSW files. You can download the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found