Node.js integration error

This is the error thrown by the console when I try writing the code on node.js using the bolt-iot-wrapper npm.

Here is the code. (I have replaced the x’s with correct device ID and API key):

And here is the error:
node

If anyone has tried integrating the bolt API with node.js, please help me resolve this issue. Thank you.

Hi @rishabhajay24,

I will try out this node.js library on this Sunday and will help you out on this. Also check if this link helps https://docs.boltiot.com/docs/bolt-iot-javascript-library

Do let me know in case you need further assistance.

Thank you sir. I did go through that documentation earlier. The script on browser side is working fine, the problem occurs when I use the npm package for node.