[Pkg-javascript-devel] Bug#1139670: node-addon-api: Bad path resolution when symlinked into node_modules

Jérémy Lal kapouer at melix.org
Thu Jun 11 01:36:19 BST 2026


Package: node-addon-api
Version: 8.6.0-1
Severity: important

While building in sbuild node-sharp (to be uploaded),
I saw that error:

FileNotFoundError: [Errno 2] No such file or directory: './build/../../../../usr/share/nodejs/node-addon-api/node_addon_api_maybe.target.mk'

It's like https://github.com/prebuild/prebuildify-cross/issues/23

In some cases it doesn't fail. In others it does.

-- System Information:
Debian Release: forky/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 7.0.10+deb14-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages node-addon-api depends on:
ii  libnode-dev  24.16.0+dfsg+~cs24.13.1-2
ii  nodejs       24.16.0+dfsg+~cs24.13.1-2

node-addon-api recommends no packages.

node-addon-api suggests no packages.

-- no debconf information



More information about the Pkg-javascript-devel mailing list