Skip to content

Problem with ez.dateOut() in workspace environment #2024

Discussion options

You must be logged in to vote

@RobinTail So this had nothing to do with bun.

I had indeed 2 versions of typescript between my back and my packages/shared workspace. This was causing express-zod-api to be bundled twice at 2 different locations by pnpm. I don't know exactly how, but this broke something in express-zod-api.

apps/back:
   dependencies:
     express-zod-api:
       specifier: ^20.7.1
       version: 20.7.1(@types/express@4.17.21)(@types/http-errors@2.0.4)(compression@1.7.4)(express@4.19.2)(http-errors@2.0.0)(typescript@5.2.2)(zod@3.23.8)

packages/shared:
   dependencies:
     express-zod-api:
       specifier: ^20.7.1
       version: 20.7.1(@types/express@4.17.21)(@types/http-errors@2.0.4)(compression@1.7…

Replies: 2 comments 13 replies

Comment options

You must be logged in to vote
10 replies
@RobinTail
Comment options

@RobinTail
Comment options

@RobinTail
Comment options

@JonathanCabezas
Comment options

@JonathanCabezas
Comment options

Comment options

You must be logged in to vote
3 replies
@RobinTail
Comment options

@RobinTail
Comment options

@JonathanCabezas
Comment options

Answer selected by RobinTail
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants