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

Errors when attempting to include #956

Closed
Siyfion opened this issue Jul 19, 2016 · 3 comments
Closed

Errors when attempting to include #956

Siyfion opened this issue Jul 19, 2016 · 3 comments

Comments

@Siyfion
Copy link

Siyfion commented Jul 19, 2016

I'm getting the following issues when following the instructions on the NPM page... Clearly it's something to do with eslint-plugin-jsx-a11y but I'm not entirely sure what!?

dragon:LabelLogicLive siyfion$ npm install --save-dev eslint-config-airbnb eslint-plugin-import eslint-plugin-react eslint-plugin-jsx-a11y eslint
npm WARN package.json [email protected] No description
npm WARN package.json [email protected] No README data
npm WARN peerDependencies The peer dependency eslint@^2.9.0 included from eslint-config-airbnb will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency 
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency eslint-plugin-jsx-a11y@^1.2.0 included from eslint-config-airbnb will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency 
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency eslint@^2.9.0 included from eslint-config-airbnb-base will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency 
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm ERR! Darwin 15.5.0
npm ERR! argv "/Users/siyfion/.nvm/versions/node/v4.4.4/bin/node" "/Users/siyfion/.nvm/versions/node/v4.4.4/bin/npm" "install" "--save-dev" "eslint-config-airbnb" "eslint-plugin-import" "eslint-plugin-react" "eslint-plugin-jsx-a11y" "eslint"
npm ERR! node v4.4.4
npm ERR! npm  v2.15.1
npm ERR! code EPEERINVALID

npm ERR! peerinvalid The package [email protected] does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer [email protected] wants eslint-plugin-jsx-a11y@^1.2.0

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/siyfion/Git/LabelLogicLive/npm-debug.log
dragon:LabelLogicLive siyfion$ npm install --save-dev eslint-config-airbnb-base eslint-plugin-import eslint
npm WARN package.json [email protected] No description
npm WARN package.json [email protected] No README data
npm ERR! Darwin 15.5.0
npm ERR! argv "/Users/siyfion/.nvm/versions/node/v4.4.4/bin/node" "/Users/siyfion/.nvm/versions/node/v4.4.4/bin/npm" "install" "--save-dev" "eslint-config-airbnb-base" "eslint-plugin-import" "eslint"
npm ERR! node v4.4.4
npm ERR! npm  v2.15.1
npm ERR! code EPEERINVALID

npm ERR! peerinvalid The package [email protected] does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer [email protected] wants eslint-plugin-jsx-a11y@^1.2.0

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/siyfion/Git/LabelLogicLive/npm-debug.log
@ljharb
Copy link
Collaborator

ljharb commented Jul 19, 2016

You're installing the latest versions, which are not yet compatible with this plugin (#952). We should update the docs to include the version specifiers.

In the meantime, if you use the version specifiers here, that should work fine.

@ljharb
Copy link
Collaborator

ljharb commented Jul 19, 2016

Specifically, npm install --save-dev eslint-config-airbnb eslint-plugin-import@^1.8.0 eslint-plugin-react@^5.1.1 eslint-plugin-jsx-a11y@^1.2.2 eslint@^2.10.2.

@ljharb ljharb closed this as completed in 623dc44 Jul 19, 2016
@ljharb
Copy link
Collaborator

ljharb commented Jul 19, 2016

Docs updated.

hibearpanda pushed a commit to 15Prospects/javascript that referenced this issue Jan 22, 2017
…amically look up the right version numbers when installing peer deps.

Fixes airbnb#956.

This command would be simpler if npm/npm#11213 is ever implemented.
jaylaw81 pushed a commit to appirio-digital/ads-best-practices that referenced this issue Sep 19, 2017
…amically look up the right version numbers when installing peer deps.

Fixes airbnb#956.

This command would be simpler if npm/npm#11213 is ever implemented.
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