getting keyValidator._parse is not a function in t3-env

I have set up t3-env in my Next.js 13 project, but when I run my project, I encounter the following error:
keyValidator._parse is not a function
TypeError: keyValidator._parse is not a function

Could someone help me resolve this error? I am using the following dependencies:

"zod": "3.20.2"
"@t3-oss/env-nextjs": "0.6.0"
"next": "^13.4.3""
Was this page helpful?