Skip to content
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

No longer works #19

Open
ianpowell2017 opened this issue Jan 13, 2023 · 0 comments
Open

No longer works #19

ianpowell2017 opened this issue Jan 13, 2023 · 0 comments

Comments

@ianpowell2017
Copy link

Hi,
When I download this and run 'npm i', then 'npm run dev' I get an error saying the packages are out of date.
I then run 'npm update' and the project returns error

    return new TSError(diagnosticText, diagnosticCodes)
           ^
TSError: ⨯ Unable to compile TypeScript:
server/index.ts:14:21 - error TS2345: Argument of type 'Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>' is not assignable to parameter of type 'IncomingMessage'.
  Type 'Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>' is missing the following properties from type 'IncomingMessage': aborted, httpVersion, httpVersionMajor, httpVersionMinor, and 45 more.

return handle(req, res);```

Please advise
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant