This is the code
const safeFactory = await SafeFactory.init({
provider: rpcUrl,
signer: signerAddress
});
This is the error
Error: invalid account
at JsonRpcProvider.getSigner
The intention is to be able to use the safe factory with a hardware wallet and run the code as a script (no UI). It worked in previous versions of the safe SDK.