SignatureDoesNotMatch: The request signature we calculated does not match the signature you provided

Ok I've resolved it. It seems indeed keytar.node was installed with the wrong platform. Installing it with the target solved it.