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

Unhelpful error messages? #285

Open
krainboltgreene opened this issue Sep 24, 2017 · 1 comment
Open

Unhelpful error messages? #285

krainboltgreene opened this issue Sep 24, 2017 · 1 comment

Comments

@krainboltgreene
Copy link

npx eslint-find-rules help
npx: installed 71 in 13.549s
Cannot find module 'eslint'
npx eslint-find-rules -h
npx: installed 71 in 12.818s
Cannot find module 'eslint'
npx eslint-find-rules .
Cannot read config file: /Users/krainboltgreene/Code/unctionjs/selectValues
Error: EISDIR: illegal operation on a directory, read
npx eslint-find-rules --help
ESLint configuration in /Users/krainboltgreene/Code/unctionjs/selectValues/transpiled/index.js is invalid:
	- Unexpected top-level property "default".
@ljharb
Copy link
Collaborator

ljharb commented Sep 24, 2017

The first two are an issue with npx; eslint-find-rules has a peer dep on eslint and npx would need to install it to ensure everything works properly.

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