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.

ESLint warnings within Atom editor. Cannot find module 'eslint-plugin-flowtype'

See original GitHub issue

I followed instructions to enable ESLint warnings within (Atom) editor. On opening a .js file in the editor I get this error.

Error: Failed to load plugin flowtype: Cannot find module 'eslint-plugin-flowtype' Referenced from: package.json

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9 (8 by maintainers)

github_iconTop GitHub Comments

andyeskridgecommented, Jul 29, 2016

I found I was hitting that issue too when using the linter-eslint package for atom. My work around was to first make sure that all of the required plugins were installed globally with npm install -g eslint babel-eslint eslint-plugin-react eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-flowtype and then telling linter-eslint to use the global eslint installation


gaearoncommented, Jul 29, 2016

Please follow these instructions for integrating linting with your editor:

It is unfortunate that we require global installation but this is a problem on ESLint’s end, and they intend to solve it:

Read more comments on GitHub >

github_iconTop Results From Across the Web

Atom & eslint: Cannot find module 'eslint-config-react-app'
While react-scripts 's eslint doesn't raise any warning or error. By the way, the package eslint-config-react-app is installed in node_modules .
Read more >
eslint/eslint - Gitter
ERROR:ESLint: 5.16.0. ESLint couldn't find the plugin "eslint-plugin-angular". This can happen for a couple different reasons: If ESLint is installed ...
Read more >
Failed to load plugin 'flowtype' declared in 'package.json ...
Coding example for the question Failed to load plugin 'flowtype' declared in 'package.json » eslint-config-react-app': Cannot find module ...
Read more >
'Cannot find module 'eslint-plugin-flowtype'' : WEB-44133
Creating react app as subproject breaks Webstorm linter with message: 'Cannot find module 'eslint-plugin-flowtype''. What steps will reproduce the problem?
Read more >
failed to load plugin 'flowtype' declared in 'baseconfig -
ERROR in Failed to load plugin 'flowtype' declared in 'package.json » eslint-config-react-app': Cannot find module 'eslint/use-at-your-own-risk' Require ...
Read more >

github_iconTop Related Medium Post

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 Post

No results found

github_iconTop Related Hashnode Post

No results found