Could not find "client" in the context or passed in as an option

Did you manage to solve this?