RobSchilderr / nextjs-native-starter

One Next.js codebase for iOS, Android and Web using Capacitor, TailwindCSS and authentication with Supertokens, written in Typescript
https://nextjs-native.com
166 stars 15 forks source link

Error on yarn build in next-app #6

Closed anastasiosyal closed 1 year ago

anastasiosyal commented 1 year ago

From apps\next-app

running yarn build results in the following

../../packages/ui/containers/Login/Login.tsx:207:12 Type error: Type '{}' is missing the following properties from type '{ hasRequestedCode: boolean; setHasRequestedCode: (value: boolean) => void; isGettingCode: boolean; setIsGettingCode: (value: boolean) => void; }': hasRequestedCode, setHasRequestedCode, isGettingCode, setIsGettingCode

205 | 206 |

207 | | ^ 208 |

209 | 210 | </> error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

image

RobSchilderr commented 1 year ago

I fixed it!

I added a more modern UI/UX and updated some packages. I only did this for the Passwordless form with Thirdparty though. If people would like me to update the rest, let me know. :)

Screenshot_2023-02-20_at_6 00 08_PM