cypress-realworld-app: Unable to run the app

Hello,

Thanks a lot for this app!

However, I am having issues running it locally. There are compilation errors about type mismatch

backend/user-routes.ts(36,66): error TS2345: Argument of type 'string | ParsedQs | string[] | ParsedQs[] | undefined' is not assignable to parameter of type 'string'.
[start:api:watch]   Type 'undefined' is not assignable to type 'string'.
/backend/transaction-routes.ts(43,7):
[start:react] Argument of type 'string | string[] | ParsedQs | ParsedQs[] | undefined' is not assignable to parameter of type 'number'.
[start:react]   Type 'undefined' is not assignable to type 'number'.  TS2345

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 15 (8 by maintainers)

Most upvoted comments

@amirrustam I can create a PR if that helps. Please let me know

Hi @magnolia-triplett thank you but I am seeing 404 page πŸ˜ƒ

Screen Shot 2020-06-12 at 9 47 31 AM

Update: Ah it’s okay, I guess this is the correct link. Thank you!

Can you start fresh and use yarn, and then let us know if the issue persists? This issue is related to typing issues with express types.

Thanks for reporting @m0t0r!

Contributions are always welcome πŸ˜ƒ