You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This causes issues, because the RouteParameters type in @types/express-serve-static-core, which is used by @types/express, changed slightly between v4 and v5
caugner
changed the title
v3.4.3 upgraded to @types/express:^5.0.0 although express:^4.21.2 is used
v3.4.3 upgraded to @types/express:^5.0.0 although express:^4.21.2 is used
Feb 3, 2025
In addition to what @caugner mentions above, my question is: Are types really a dependency? Should they not be moved to devDependencies?
If this helps anyone else with type issues while building their cloud functions, I've added an override to my package.json temporarily so that I can build my project without mismatched type failures:
If this helps anyone else with type issues while building their cloud functions, I've added an override to my package.json temporarily so that I can build my project without mismatched type failures:
In 16709c6, @matthewrobertson bumped
@types/express
from 4.17.21 to ^5.0.0, which probably wasn't intended.This causes issues, because the
RouteParameters
type in@types/express-serve-static-core
, which is used by@types/express
, changed slightly between v4 and v5This caused unexpected issues for us when upgrading dependencies in https://github.com/mdn/yari/blob/main/cloud-function/package.json, as
@sentry/google-cloud-serverless
8.54.0 expects express v4 types.The text was updated successfully, but these errors were encountered: