libp2p / js-peer-info

libp2p Peer abstraction Node.js implementation
https://libp2p.io
MIT License
37 stars 28 forks source link

chore(package): make engines npm valid, like js-ipfs-api #57

Closed OR13 closed 7 years ago

OR13 commented 7 years ago
user@host $ npm install --save ipfs-api
npm ERR! code ENOTSUP
npm ERR! notsup Unsupported engine for peer-info@0.11.0: wanted: {"node":">=6.0.0","npm":">=6.0.0"} (current: {"node":"8.4.0","npm":"5.3.0"})
npm ERR! notsup Not compatible with your version of node/npm: peer-info@0.11.0
npm ERR! notsup Not compatible with your version of node/npm: peer-info@0.11.0
npm ERR! notsup Required: {"node":">=6.0.0","npm":">=6.0.0"}
npm ERR! notsup Actual:   {"npm":"5.3.0","node":"8.4.0"}

There is no npm >=6.0.0, this is likely a typo.

yarn add ipfs-api --ignore-engine

Will work around this issue, but because yarn does not respect nested node_modules the same way, it is necessary for me to use npm to install ipfs-api.

daviddias commented 7 years ago

Thank you @OR13, good catch!

daviddias commented 7 years ago

Release PeerInfo 0.11.1 with updated deps as well.