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

Webpack 2 doesn't satisfy siblings peer dependencies #4

Closed
matt-mcdaniel opened this issue Jun 19, 2016 · 6 comments
Closed

Webpack 2 doesn't satisfy siblings peer dependencies #4

matt-mcdaniel opened this issue Jun 19, 2016 · 6 comments

Comments

@matt-mcdaniel
Copy link

I did a fresh clone of the repo and ran npm install and and getting peer dependency errors with regard to babel-loader, karma-webpack, and webpack-dev-server.

npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v4.4.0
npm ERR! npm  v2.14.20
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 webpack@1 || ^2.1.0-beta
npm ERR! peerinvalid Peer [email protected] wants webpack@^1.4.0
npm ERR! peerinvalid Peer [email protected] wants webpack@>=2.0.3-beta <3

Running npm 2.14.20 and node 4.4.0.

@kentcdodds
Copy link
Owner

Yeah, Webpack 2 is still beta. Your going to need to use npm version 3 to get around these warnings for now. Good luck!

@matt-mcdaniel
Copy link
Author

Cool, good to know npm 3+ will fix the problem. Thanks for the insight!

@zuzust
Copy link

zuzust commented Jun 20, 2016

@kentcdodds Well, I'm running node 4.4.0 and npm 3.8.1 and still there are install errors:

carles:code [git|master:7ebe1bd]
% → npm list --depth=0               
/home/carles/Learning/Webpack/Courses/2016-egghead/webpack-production-js-apps/code
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── UNMET PEER DEPENDENCY [email protected]
├── [email protected]
└── [email protected]

npm ERR! peer dep missing: webpack@^1.4.0, required by [email protected]
npm ERR! peer dep missing: webpack@>=2.0.3-beta <3, required by [email protected]

Any ideas?

@kentcdodds
Copy link
Owner

You'll see warnings on install, but there should not be errors to prevent you from running the scripts... are you unable to build/test

@zuzust
Copy link

zuzust commented Jun 20, 2016

@kentcdodds Yes, I am. No webpack module installed. Is it a dependency version conflict?

@kentcdodds
Copy link
Owner

Could you try explicitly installing it: npm install [email protected]?

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

3 participants