Azure / azure-iot-hub-node

Azure IoT Hub Data Plane Node SDK
MIT License
1 stars 7 forks source link

Node 20 support #34

Open the-ress opened 10 months ago

the-ress commented 10 months ago

The package currently depends on an old version of @azure/identity which in turn depends on an old version of @azure/msal-node that won't install with Node 20.

Console output (using yarn):

> yarn add azure-iothub
yarn add v1.22.19
[1/4] Resolving packages...
warning azure-iothub > @azure/identity > @azure/msal-node@1.18.4: A newer major version of this library is available. Please upgrade to the latest available version.
warning azure-iothub > @azure/identity > @azure/msal-browser@2.38.3: A newer major version of this library is available. Please upgrade to the latest available version.
[2/4] Fetching packages...
error @azure/msal-node@1.18.4: The engine "node" is incompatible with this module. Expected version "10 || 12 || 14 || 16 || 18". Got "20.9.0"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
RadekKpc commented 6 months ago

@ethanann-ms @mattk-mke Could you please look into it?