petehunt / react-touch

React photo viewer for mobile
446 stars 48 forks source link

`npm install` => react-touch@0.0.6 wants react@~0.9 #4

Open gabssnake opened 9 years ago

gabssnake commented 9 years ago

Hi, awesomest demo! Respect from France.

npm install is currently not working. It halts as react-touch wants react ~0.9 as peerDependency.

Using react-touch from git://github.com/nicholasstephan/react-touch-lib and latest react version fixed it for me.

michael-riha commented 9 years ago

@gabssnake i do have the same Issue here. I haven't find a way to solve it. How does your package.json looks like now?

gabssnake commented 9 years ago

Basically, replace these lines :

"react-touch" : "~0.0.1",
"react" : "http://petehunt.net/react/react-0.5.1.tar.gz",
"jsx-loader" : "petehunt/jsx-loader",

With these :

"react-touch" : "git://github.com/nicholasstephan/react-touch-lib",
"react" : "^0.10.0",
"jsx-loader" : "^0.10.2",
michael-riha commented 9 years ago

@gabssnake THX, now it works!