blitz-js / legacy-framework

MIT License
3 stars 2 forks source link

Route manifest runtime errors #389

Closed ghoshnirmalya closed 2 years ago

ghoshnirmalya commented 2 years ago

What is the problem?

Getting the same error as https://github.com/blitz-js/legacy-framework/issues/222 while creating a new Blitz application.

Paste all your error logs here:

app/pages/index.tsx (38:20) @ UserInfo

  36 | return (
  37 |   <>
> 38 |     <Link href={Routes.SignupPage()}>
     |                ^
  39 |       <a className="button small">
  40 |         <strong>Sign Up</strong>
  41 |       </a>

Paste all relevant code snippets here:

TypeError: next_stdlib__WEBPACK_IMPORTED_MODULE_6__.Routes.SignupPage is not a function

What are detailed steps to reproduce this?

  1. npx blitz new blitz-app
  2. ✔ You have the latest Blitz version ✔ Pick a new project's language · TypeScript ✔ Pick your new app template · full ✔ Install dependencies? · pnpm ✔ Pick a form library (you can switch to something else later if you want) · React Final Form
  3. cd blitz-app
  4. blitz dev

Run blitz -v and paste the output here:

0.42.4

Please include below any other applicable logs and screenshots that show your problem:

image

flybayer commented 2 years ago

I believe is is a duplicate of https://github.com/blitz-js/legacy-framework/issues/395.

Let us know if it's not.

paulm17 commented 2 years ago

Nevermind me.