when trying to add orbit-db with yarn i get these errors:
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
error [email protected]: The engine "node" is incompatible with this module. Expected version "^6.x.x".
error Found incompatible module
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
Which version of Node.js are you on?
i'm using v8.5.0
Is anyone able to replicate the error?
mkdir test
cd test
npm init -y
yarn add orbit-db
Got it. I don't use Yarn myself and have never come across this problem, but I believe this is the line causing it.
There's a new version of ipfs-log coming out soon (v4.0.0) which should fix this.
Meanwhile, this should work:
yarn --ignore-engines add orbit-db
EDIT: Oh, but ipfs-log v3.0.0 was indeed released a month ago.
@millette thanks for sharing the workaround!
Indeed 3.0 was released, meant 4.0 :) Fixed it in my comment.
This should be fixed now in v0.18.0. I'm able to run yarn add orbit-db without errors.
Closing as fixed, but if anyone still has the problem, please re-open the issue and let us know!
Thank you everyone for helping out on this one! 鉂わ笍