socket.io-react icon indicating copy to clipboard operation
socket.io-react copied to clipboard

Dependency issue in this package

Open riteshkmr33 opened this issue 8 years ago • 1 comments

It's mentioned on package that there is no dependency : screen shot 2017-08-04 at 3 36 19 pm

But after installation it gave me error : ├── UNMET PEER DEPENDENCY [email protected] ├── UNMET PEER DEPENDENCY [email protected] └── [email protected]

While if you see my package json : "react": "15.4.2", "socket.io-client": "2.0.3", "socket.io-react": "1.2.0",

All the required packages are already there. Please test your plugin once before publishing.

riteshkmr33 avatar Aug 04 '17 10:08 riteshkmr33

@riteshkmr33,

The peer dependencies of this module are:

{
  "socket.io-client": "^1.4.5",
  "prop-types": "^15.5.10",
  "react": "^15.6.1"
}

And you installed [email protected] and [email protected] so you don't meet both peer dependencies (you need a greater react version and a lower socket.io-client version).

Please learn about peer dependencies and semver once before talking shit.

sergiodxa avatar Oct 27 '17 04:10 sergiodxa