peter-mouland / react-lego

React-lego : incrementally add more cool stuff to your react app
http://react-lego.herokuapp.com/
MIT License
414 stars 36 forks source link

UNMET PEER DEPENDENCY webpack@2.1.0-beta.22 #3

Closed tuler closed 8 years ago

tuler commented 8 years ago

from a clean clone of branch webpack2-rhl.

node --version
v6.3.0
npm --version
3.10.7
peter-mouland commented 8 years ago

hmm... not sure how you got that error. i just tried it again and got the following warning: webpack-dev-server@1.15.2 requires a peer of webpack@>=1.3.0 <3 but none was installed. which is a weird error since it installs webpack@^2.1.0-beta.22. This warning has no affect on the app for me.

i executed the following: git checkout webpack2-rhl && rm -rf node_modules && npm i && npm run start:dev

Everything seems ok to me.

Does the warning mean the branch doesn't work for you?

tuler commented 8 years ago

Indeed it's just a warning. Is it possible to get rid of it?

peter-mouland commented 8 years ago

This is a npm warning so you'd have to speak to them about how to suppress it. As soon as webpack 2 is official, this wont be a problem