Signature error when create a new account

Hello, I’m trying to create an account with SystemProram.createAccount in typescript code. Below is my code for it.

But this code gives me ‘Signature verification failed’ error. I think I properly append signers in ‘signers’ array and give them. Where am I wrong?

Try using transaction.sign(owner) instead of a signers array. Check out this example: