Npm install ipfs error

npm install ipfs
result:
No matching version found for multicodec@^2.1.0.

npm install ipfs-core
result:
No matching version found for multicodec@^2.1.0.

how to install js-ipfs?

I encountered same problem

I try to npm install ipfs again today, SUCCESS!
something must be done. great!

npm install ipfs fail again.
install failed in my three system: mac, centos, debian