New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[@types/serve-static] Cannot use namespace 'HttpError' as a type? #68208
Comments
@benasher44 Appreciate if you could take a look! |
@PuneetKohli why me? I'm not a maintainer of these types, and this doesn't look connected to types I've updated recently (e.g. validator). Could you clarify why me? Maybe I'm misunderstanding though |
Saw you recently helped resolve a somewhat similar-looking issue (#68152) in |
(Been grappling with this issue a few days now, as we don't use these libraries directly, it's a dependency from |
Ah i see. While both issues deal with namespaces, this one is different. If you file this via discussions, the bot will automatically tag the right maintainers. |
Appreciate the help: @urossmolnik, @LinusU, @devanshj. |
Discussed in #68194
Originally posted by jeffysam6 January 14, 2024
I keep getting this error on "npm run build" from this particular file
node_modules/@types/serve-static/index.d.ts:98:67 - error TS2709: Cannot use namespace 'HttpError' as a type.
Node version : 18
The two libraries dependent on serve-static in my dependencies are firebase-functions and express
This is my package.json
The text was updated successfully, but these errors were encountered: