When you create new blitz project and push to github, husky throws up errors for Routes
Paste all your error logs here:
app/auth/components/LoginForm.tsx:41:30 - error TS2339: Property 'ForgotPasswordPage' does not exist on type '{ ThisFileHasNotYetBeenGeneratedPleaseRunBlitzCodeGen(query?: ParsedUrlQueryInput | undefined): UrlObject; }'.
41 <Link href={Routes.ForgotPasswordPage()}>
~~~~~~~~~~~~~~~~~~
app/auth/components/LoginForm.tsx:48:31 - error TS2339: Property 'SignupPage' does not exist on type '{ ThisFileHasNotYetBeenGeneratedPleaseRunBlitzCodeGen(query?: ParsedUrlQueryInput | undefined): UrlObject; }'.
48 Or <Link href={Routes.SignupPage()}>Sign Up</Link>
~~~~~~~~~~
app/auth/pages/reset-password.tsx:20:42 - error TS2339: Property 'Home' does not exist on type '{ ThisFileHasNotYetBeenGeneratedPleaseRunBlitzCodeGen(query?: ParsedUrlQueryInput | undefined): UrlObject; }'.
20 Go to the <Link href={Routes.Home()}>homepage</Link>
~~~~
app/auth/pages/signup.tsx:10:55 - error TS2339: Property 'Home' does not exist on type '{ ThisFileHasNotYetBeenGeneratedPleaseRunBlitzCodeGen(query?: ParsedUrlQueryInput | undefined): UrlObject; }'.
10 <SignupForm onSuccess={() => router.push(Routes.Home())} />
~~~~
app/pages/index.tsx:38:28 - error TS2339: Property 'SignupPage' does not exist on type '{ ThisFileHasNotYetBeenGeneratedPleaseRunBlitzCodeGen(query?: ParsedUrlQueryInput | undefined): UrlObject; }'.
38 <Link href={Routes.SignupPage()}>
~~~~~~~~~~
app/pages/index.tsx:43:28 - error TS2339: Property 'LoginPage' does not exist on type '{ ThisFileHasNotYetBeenGeneratedPleaseRunBlitzCodeGen(query?: ParsedUrlQueryInput | undefined): UrlObject; }'.
43 <Link href={Routes.LoginPage()}>
What is the problem?
When you create new blitz project and push to github, husky throws up errors for Routes
Paste all your error logs here:
Paste all relevant code snippets here:
What are detailed steps to reproduce this?
Run
blitz -v
and paste the output here:Please include below any other applicable logs and screenshots that show your problem:
No response