I am trying to test turnserver in the run kit but this error appears everytime .Would you please guide me which thing is going wrong?


#1

I am trying to test turnserver in the run kit but this error appears everytime .Would you please guide me which thing is going wrong?


#2

It seems like you’re not saving the result of the require() call. Try this instead:

var stunturncheck = require("stunturncheck");

See also the demo on the NPM page:

https://www.npmjs.com/package/stunturncheck