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

[BUG] TypeError: Cannot read properties of undefined (reading 'isDone') #2712

Closed
DaniGTA opened this issue May 26, 2024 · 3 comments
Closed
Assignees
Labels

Comments

@DaniGTA
Copy link

DaniGTA commented May 26, 2024

Describe the bug

Upgraded my project to version 7.69.4

TypeError: Cannot read properties of undefined (reading 'isDone')
at file:///app/node_modules/@tsed/platform-express/lib/esm/components/PlatformExpress.js:71:19
at Layer.handle_error (/app/node_modules/express/lib/router/layer.js:71:5)
at trim_prefix (/app/node_modules/express/lib/router/index.js:326:13)
at /app/node_modules/express/lib/router/index.js:286:9
at Function.process_params (/app/node_modules/express/lib/router/index.js:346:12)
at next (/app/node_modules/express/lib/router/index.js:280:10)
at Layer.handle_error (/app/node_modules/express/lib/router/layer.js:67:12)
at trim_prefix (/app/node_modules/express/lib/router/index.js:326:13)
at /app/node_modules/express/lib/router/index.js:286:9
at Function.process_params (/app/node_modules/express/lib/router/index.js:346:12)

To Reproduce

i use express with tsed.

"express": "^4.19.2",
"@tsed/common": "^7.69.4",
"@tsed/components-scan": "^7.69.4",
"@tsed/core": "^7.69.4",
"@tsed/di": "^7.69.4",
"@tsed/exceptions": "^7.69.4",
"@tsed/json-mapper": "^7.69.4",
"@tsed/platform-express": "^7.69.4",
"@tsed/schema": "^7.69.4",
"@tsed/socketio": "^7.69.4",

Expected behavior

no undefined error from tsed.

Code snippets

No response

Repository URL example

No response

OS

Linux

Node version

Node v21

Library version

v7.69.4

Additional context

No response

@DaniGTA
Copy link
Author

DaniGTA commented May 26, 2024

error is not related to tsed

@DaniGTA DaniGTA closed this as completed May 26, 2024
Copy link

🎉 Are you happy?

If you appreciated the support, know that it is free and is carried out on personal time ;)

A support, even a little bit makes a difference for me and continues to bring you answers!

github opencollective

@Romakita
Copy link
Collaborator

Please try latest version ^^.
See you

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

No branches or pull requests

2 participants