nhost / hasura-auth

Authentication for Hasura.
https://nhost.io
MIT License
385 stars 114 forks source link

Type Error in Fields.ts (src/validation) #274

Closed pythonfullstack closed 1 year ago

pythonfullstack commented 1 year ago

When running project by yarn dev it gives me Type Error from src/validation/fields.ts line 29

plmercereau commented 1 year ago

Hello, This project uses pnpm, not Yarn, so it is possible this error is related to using the wrong package manager

pythonfullstack commented 1 year ago

I am still having this issue on Windows OS, not Linux. even though I used pnpm

azlekov commented 1 year ago

Can you post some log from the console?

pythonfullstack commented 1 year ago

image src/validation/fields.ts

the error is ValidationError requires type

{
            message,
            path: ['password'],
           type: 'password'
}
elitan commented 1 year ago

Where exactly do you see this error?

What are the steps to reproduce this issue?

pythonfullstack commented 1 year ago

One of my team members using Windows OS tried to install the project on his machine and got this error. He was using pnpm. Now he doesn't have the error anymore. Just only at the very beginning, he had that error.

plmercereau commented 1 year ago

Good news your colleague hasn't got errors anymore. Closing for now. If happens again please give us the steps to reproduce and we'll reopen the issue.