title: error getting eslint to work with eslint-plugin-vue
body: <p>I'm not a front-end dev but am trying to lint my javascript / Vue.js file in a Rails 5.1 app. I'm not that familiar with the node ecosystem.  I get the following error and wanted to know where to start to fix this:</p>
  <pre class="lang-text prettyprint-override"><code>Tue Apr 17$ eslint javascript/ --ext .vue
  Cannot find module 'eslint-plugin-vue'
  Referenced from: /Users/jt/repos/embers2/.eslintrc.js
  Error: Cannot find module 'eslint-plugin-vue'
  Referenced from: /Users/jt/repos/embers2/.eslintrc.js
      at ModuleResolver.resolve (/usr/local/lib/node_modules/eslint-config-airbnb-standard/node_modules/eslint/lib/util/module-resolver.js:74:19)
      at resolve (/usr/local/lib/node_modules/eslint-config-airbnb-standard/node_modules/eslint/lib/config/config-file.js:466:29)
      at load (/usr/local/lib/node_modules/eslint-config-airbnb-standard/node_modules/eslint/lib/config/config-file.js:542:26)
      at configExtends.reduceRight (/usr/local/lib/node_modules/eslint-config-airbnb-standard/node_modules/eslint/lib/config/config-file.js:421:36)
      at Array.reduceRight (&lt;anonymous&gt;)
      at applyExtends (/usr/local/lib/node_modules/eslint-config-airbnb-standard/node_modules/eslint/lib/config/config-file.js:403:28)
      at loadFromDisk (/usr/local/lib/node_modules/eslint-config-airbnb-standard/node_modules/eslint/lib/config/config-file.js:514:22)
      at Object.load (/usr/local/lib/node_modules/eslint-config-airbnb-standard/node_modules/eslint/lib/config/config-file.js:550:20)
      at Config.getLocalConfigHierarchy (/usr/local/lib/node_modules/eslint-config-airbnb-standard/node_modules/eslint/lib/config.js:228:44)
      at Config.getConfigHierarchy (/usr/local/lib/node_modules/eslint-config-airbnb-standard/node_modules/eslint/lib/config.js:180:43)
  Tue Apr 17$ 
  </code></pre>
  <p>My .eslint.js file is:</p>
  <pre class="lang-js prettyprint-override"><code>module.exports = {
    extends: [
      // add more generic rulesets here, such as:
      // 'eslint:recommended',
      'plugin:vue/essential',
      'airbnb-base'
  
    ],
    rules: {
      // override/add rules settings here, such as:
      // 'vue/no-unused-vars': 'error'
    }
  };
  </code></pre>
  <p>and my package.json is:</p>
  <pre class="lang-json prettyprint-override"><code>{
    &quot;dependencies&quot;: {
      &quot;@rails/webpacker&quot;: &quot;^3.4.3&quot;,
      &quot;axios&quot;: &quot;^0.17.1&quot;,
      &quot;coffeescript&quot;: &quot;1.12.7&quot;,
      &quot;octicons&quot;: &quot;^6.0.1&quot;,
      &quot;postcss-smart-import&quot;: &quot;^0.7.6&quot;,
      &quot;solc&quot;: &quot;^0.4.19&quot;,
      &quot;vue&quot;: &quot;^2.5.16&quot;,
      &quot;vue-awesome&quot;: &quot;^2.3.4&quot;,
      &quot;vue-cookie&quot;: &quot;^1.1.4&quot;,
      &quot;vue-loader&quot;: &quot;^14.2.2&quot;,
      &quot;vue-moment&quot;: &quot;^3.2.0&quot;,
      &quot;vue-octicon&quot;: &quot;^2.1.1&quot;,
      &quot;vue-progressbar&quot;: &quot;^0.7.3&quot;,
      &quot;vue-router&quot;: &quot;^2.7.0&quot;,
      &quot;vue-template-compiler&quot;: &quot;^2.5.16&quot;,
      &quot;vue2-google-maps&quot;: &quot;^0.8.10&quot;,
      &quot;vuex&quot;: &quot;^3.0.1&quot;
    },
    &quot;devDependencies&quot;: {
      &quot;eslint&quot;: &quot;^4.19.1&quot;,
      &quot;eslint-config-airbnb-base&quot;: &quot;^12.1.0&quot;,
      &quot;eslint-plugin-import&quot;: &quot;^2.11.0&quot;,
      &quot;eslint-plugin-vue&quot;: &quot;^4.4.0&quot;,
      &quot;extract-text-webpack-plugin&quot;: &quot;^3.0.2&quot;,
      &quot;vue-masonry-css&quot;: &quot;^1.0.1&quot;,
      &quot;webpack-cli&quot;: &quot;^2.0.13&quot;,
      &quot;webpack-dev-server&quot;: &quot;2.11.1&quot;
    }
  }
  </code></pre>
  <p>Where do I start looking to debug this? This ecosystem is still very opaque to me.</p>
  <hr />
  <p>On a comment's request, I ran <code>npm install</code> and verified that the plugin appears to be in <code>./node_modules/</code>:</p>
  <p><a href="https://i.stack.imgur.com/lheA3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/lheA3.png" alt="&quot;eslint-plugin-vue&quot; is in the node_modules folder" /></a></p>
  <p>But I'm still getting the same error. Any other ideas?</p>