Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Uncaught Error: Cannot find module 'eslint-plugin-react' #72

Closed
eranimo opened this issue May 2, 2015 · 0 comments
Closed

Uncaught Error: Cannot find module 'eslint-plugin-react' #72

eranimo opened this issue May 2, 2015 · 0 comments

Comments

@eranimo
Copy link

eranimo commented May 2, 2015

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 0.196.0
System: Mac OS X 10.10.2
Thrown From: linter-eslint package, v0.5.3

Stack Trace

Uncaught Error: Cannot find module 'eslint-plugin-react'

At module.js:330

Error: Cannot find module 'eslint-plugin-react'
  at Module._resolveFilename (module.js:328:15)
  at Function.Module._resolveFilename (/Applications/Atom.app/Contents/Resources/app.asar/src/module-cache.js:383:52)
  at Function.Module._load (module.js:270:25)
  at Module.require (module.js:357:17)
  at require (module.js:376:17)
  at /Users/kaelan/www/laconic/node_modules/eslint/lib/cli-engine.js:107:26
  at Array.forEach (native)
  at loadPlugins (/Users/kaelan/www/laconic/node_modules/eslint/lib/cli-engine.js:98:21)
  at new CLIEngine (/Users/kaelan/www/laconic/node_modules/eslint/lib/cli-engine.js:268:5)
  at LinterESLint.lintFile (/Users/kaelan/.atom/packages/linter-eslint/lib/linter-eslint.coffee:73:22)
  at /Users/kaelan/.atom/packages/linter/lib/linter-view.coffee:163:18
  at Array.forEach (native)
  at /Users/kaelan/.atom/packages/linter/lib/linter-view.coffee:162:18
  at FSReqWrap.oncomplete (fs.js:77:15)

Commands

     -0:03.1.0 core:save (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "disabledPackages": [
      "terminal",
      "tree-view-open-files",
      "linter-csslint",
      "linter-scss-lint",
      "linter-jscs",
      "eslint",
      "linter-jshint"
    ],
    "themes": [
      "flatland-dark-ui",
      "flatland-dark"
    ]
  },
  "linter-eslint": {
    "disableWhenNoEslintrcFileInPath": true
  }
}

Installed Packages

# User
angularjs, v0.1.0
auto-detect-indentation, v0.4.0
autocomplete-plus, v2.12.1
autocomplete-snippets, v1.3.0
color-picker, v1.7.0
cursor-count, v0.2.0
emmet, v2.3.8
file-icons, v1.5.4
flatland-dark, v0.1.6
flatland-dark-ui, v0.2.4
highlight-selected, v0.9.2
less-than-slash, v0.6.0
linter, v0.12.1
linter-coffeelint, v0.2.2
linter-eslint, v0.5.3
linter-less, v0.3.1
linter-pylint, v0.2.1
react, v0.11.7
white-cursor, v0.6.0

# Dev
No dev packages
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant