Back to All

Using Alchemy account kit with Lit Protocol failing

While the aa-signer is installed when importing the lit-protocol it's giving the error: Cannot find module '@alchemy/aa-signers/lit-protocol' or its corresponding type declarations.ts(2307)

Following method is being used to import

import { LitAuthMethod, LitSigner } from "@alchemy/aa-signers/lit-protocol";

alchemy packages in package.json (package manager yarn)

"@alchemy/aa-accounts": "^3.0.1",
"@alchemy/aa-alchemy": "^3.0.1",
"@alchemy/aa-core": "^3.4.0",
"@alchemy/aa-signers": "^3.4.0",