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
262 stars 227 forks source link

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

Closed laudibert closed 2 years ago

laudibert commented 2 years ago

Context

Description of the issue

Running an application that is using azure-iothub@1.15.0 on Node 16 raises a deprecation warning.

Console log of the issue

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

laudibert commented 2 years ago

Sorry there was another older version in use, my bad.