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
I tried change types version, express version, make a lot of search but don't find any way to fix.
When I run with pnpm start i`m getting a lot of errors like:
(4,15): error TS2305: Module '"express"' has no exported member 'NextFunction'.
(4,29): error TS2305: Module '"express"' has no exported member 'Request'.
(4,38): error TS2305: Module '"express"' has no exported member 'Response'.
(1,15): error TS2305: Module '"express"' has no exported member 'Response'.
(3,15): error TS2305: Module '"express"' has no exported member 'Response'.
# this one is in the "import express from 'express'"
src/index.ts(1,8): error TS1192: Module '"U:/projects/express/src/index"' has no default export.
Is the same with import ... or import type ...
If anyone can give me some light or direction I would appreciate it.
Thank you... :D
The text was updated successfully, but these errors were encountered:
Hi...
I'm using
express 5.0.1
(tried with last 4.x too) and trying to use with module.And change my
package.json
adding:package.json
dependencies and scripts:And my
tsconfig
:I tried change types version, express version, make a lot of search but don't find any way to fix.
When I run with
pnpm start
i`m getting a lot of errors like:Is the same with
import ...
orimport type ...
If anyone can give me some light or direction I would appreciate it.
Thank you... :D
The text was updated successfully, but these errors were encountered: