Skip to content

Missing output from lint command (and possible others) #67

@victorb

Description

@victorb

When adding a new example to js-ipfs-api and running git commit, aegir runs lint and it failed somewhere but not showing any real errors.

screenshot

Running eslint directly on the newly added code revealed the following error (but not sure if this is the only/right one)

➜  js-ipfs-api git:(master) ✗ ./node_modules/.bin/eslint -c node_modules/aegir/config/eslintrc.yml examples 

Oops! Something went wrong! :(

ESLint couldn't find the plugin "eslint-plugin-react". This can happen for a couple different reasons:

1. If ESLint is installed globally, then make sure eslint-plugin-react is also installed globally. A globally-installed ESLint cannot find a locally-installed plugin.

2. If ESLint is installed locally, then it's likely that the plugin isn't installed correctly. Try reinstalling by running the following:

    npm i eslint-plugin-react@latest --save-dev

If you still can't figure out the problem, please stop by https://gitter.im/eslint/eslint to chat with the team.

Metadata

Metadata

Labels

aegir.nexthelp wantedSeeking public contribution on this issuekind/bugA bug in existing code (including security flaws)status/deferredConscious decision to pause or backlog

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions