-
Notifications
You must be signed in to change notification settings - Fork 54
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
Type Error Cannot read properties of undefined (reading 'meta') #51
Comments
I'm also facing the same issue it's still working in my project with previous files but after removing the node_modules when I install it gives me this error |
I had the same issue here. |
Thanks man. It works. maybe the dude forgot to catch exception. |
Had this issue today too. After some debugging, found the root cause of the issue is if you pass a queue configuration to the module when there's no handler configured, it will error out, because of a missing return in this guard condition: |
it is because your |
also when i want to pass an env var to the SqsMessageHandler method decorator, |
@toufikat it is because how SqsMessageHandler method decorator work, please refer to my solution if you want dynamic queue name in decorator |
make sure that you user dotenv.config() in the file where you are using process.env.QUEUE_NAME |
the undefined issue in this library
node : v16.19.0
Version: "@ssut/nestjs-sqs": "^2.0.0",
OS: Windows 11
aws-sdk version: "2.1388.0"
The text was updated successfully, but these errors were encountered: