Cannot add package to project

Please read the Changelog, if you look around this has been addressed multiple times already:

Your problem is also clear in the error message you have posted. The version of simple:rest and cultofcoders:grapher that you want to use want to use accounts-base v1.x, while the rest of the codebase want to use accounts-base v2. Since this is a major version bump it won’t be allowed.