You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Prebuilt binaries not found at runtime due to artifact directory nesting in release workflow #3
The prebuilt binaries included in the published @napi-ffi/ref-napi@3.0.7 npm package are not discoverable by node-gyp-build at runtime because they're nested one directory level too deep. This causes a No native build was found error even though the correct binaries are present in the package.
Error
Error: No native build was found for platform=darwin arch=arm64 runtime=node abi=137 uv=1 armv=8 libc=glibc node=24.13.0
loaded from: /path/to/node_modules/.pnpm/@napi-ffi+ref-napi@3.0.7/node_modules/@napi-ffi/ref-napi
Root Cause
In release.yml, the prebuild job uploads artifacts with names like ref-napi-prebuild-macos-latest-24.x:
Activity