react-d3 / react-d3-shape

react-d3 shapes, such as line, scatter, bar, bar stack ... and more.
24 stars 40 forks source link

fixing peerDependency to work with React 15+ #28

Open igorsantos07 opened 8 years ago

igorsantos07 commented 8 years ago

Yet another PR that's probably gonna get forgotten here, just like react-d3/react-d3-basic#43

nmqanh commented 8 years ago

Yeah I think this one should be updated and published!

vartika-skyport commented 8 years ago

Similar issue, as mentioned in [https://github.com/react-d3/react-d3-core/pull/47](react-d3-core PR-47), please check and resolve:

$ npm install npm WARN package.json react-d3-shape@0.3.25 No repository field. npm WARN package.json react-d3-shape@0.3.25 license should be a valid SPDX license expression npm WARN peerDependencies The peer dependency react included from react-d3-shape 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 react-dom included from react-d3-shape 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 13.4.0 npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" npm ERR! node v4.6.1 npm ERR! npm v2.15.9 npm ERR! code EPEERINVALID

npm ERR! peerinvalid The package react@15.0.2 does not satisfy its siblings' peerDependencies requirements! npm ERR! peerinvalid Peer react-faux-dom@2.5.0 wants react@* npm ERR! peerinvalid Peer react-dom@0.14.8 wants react@^0.14.8 npm ERR! peerinvalid Peer react-addons-test-utils@0.14.8 wants react@^0.14.8 npm ERR! peerinvalid Peer react-bootstrap@0.28.5 wants react@>=0.14.0 npm ERR! peerinvalid Peer react-router@2.4.0 wants react@^0.14.0 || ^15.0.0 npm ERR! peerinvalid Peer babel-preset-react-hmre@1.0.1 wants react@^0.14.1