OfficeDev / Microsoft-Teams-Samples

Welcome to the Microsoft Teams samples repository. Here you will find task-focused samples in C#, JavaScript and TypeScript to help you get started with the Microsoft Teams App!
MIT License
893 stars 724 forks source link

graph-meeting-notification/nodejs > Server listening to: undefined + CertificateDocumentation is related to CSharp not NodeJS #1243

Open ldenuit-syd opened 2 months ago

ldenuit-syd commented 2 months ago

Hello,

Thanks for the Sample.

It's seems to not working on my side, I think I've missed nothing because if anderstand well I've nothing to do when I run the Sample with the Teams Toolkit.

README says we need to generate certificates, but the documentation of NodeJS Sample seems to be related to CSharp Sample. When I read the code of helpers/certificate-helper.js, it's seems certificates are generated if we don't provide them.

I run the Sample, Teams open, I chose a conversation to add it, then... Nothing happend. On the VS Code console I've this : Server listening to: undefined

> meeting-notification-bot@1.0.0 dev
> nodemon --inspect=9239 --signal SIGINT ./index.js

[nodemon] 2.0.20
[nodemon] to restart at any time, enter `rs`
[nodemon] watching path(s): *.*
[nodemon] watching extensions: js,mjs,json
[nodemon] starting `node --inspect=9239 ./index.js`
Debugger listening on ws://127.0.0.1:9239/f87c9d00-3015-4133-9079-fbb7da0ceee7
For help, see: https://nodejs.org/en/docs/inspector
(node:19096) [DEP0111] DeprecationWarning: Access to process.binding('http_parser') is deprecated.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:19096) [DEP0111] DeprecationWarning: Access to process.binding('http_parser') is deprecated.
(node:19096) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
Server listening to: undefined
Debugger attached.

Could someone try on his side and tell me if he/she have the same issue?

Regards, Loïc.

Meghana-MSFT commented 2 months ago

Could you please confirm if you are trying to run the sample using Teams Toolkit only or are you facing the issue while running manually as well?

ldenuit-syd commented 2 months ago

Hello, Only with Teams Toolkit, I can run others samples like this one with Teams Toolkit, and I face no issue: https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/graph-change-notification/nodejs

Meghana-MSFT commented 2 months ago

Thank you for confirming, we will check this and get back to you.