Azure / Azure/azure-iot-sdk-node
Node 22 support for azure-iot-security-tpm
- Dominant language
- JavaScript
- Stars
- 268
- Forks
- 228
- PR merge metrics
- No merged PRs in 30d
Description
## Context
- **OS and version used:** Debian BookWorm 12 (Docker)
- **Node.js version:** 22
- **npm version:** 10.9.2
## Description of the issue
Unable to install package _azure-iot-security-tpm_ for node version 22.
As per this GitHub issue https://github.com/nodejs/node/issues/52240, ff-napi broke after node version 20.11.1. It appears there is a dependency chain like azure-iot-security-tpm → tss.js → ff-napi. Related: https://github.com/Azure/azure-iot-sdk-node/issues/930#issuecomment-806235417
## Code sample exhibiting the issue
Using docker for a quick and consistent repro. Otherwise docker don't have any relation to this issue.
```bash
docker run --rm -w /tmp node:22 npm i azure-iot-security-tpm
```
## Console log of the issue

Contributor guide
Assessment
This issue has not been assessed yet.