Azure / azure-iot-sdk-node

A Node.js SDK for connecting devices to Microsoft Azure IoT services
https://docs.microsoft.com/en-us/azure/iot-hub/
Other
261 stars 227 forks source link

[Node16] Invalid main field in azure-iot-mqtt-base\package.json #995

Closed rido-min closed 3 years ago

rido-min commented 3 years ago

I installed the latest stable Node, that happens to be 16. I run winget install nodejs

The installed the latest azure-iot-device. I got the next warning at runtime.

(node:10164) [DEP0128] DeprecationWarning: Invalid 'main' field in '\node_modules\azure-iot-mqtt-base\package.json' of 'main.js'. Please either fix that or report it to the module author