Skip to content

fix: add x86_64-unknown-freebsd to napi triples config#675

Merged
morgante merged 1 commit into
biomejs:mainfrom
cogwirrel:fix/napi-freebsd-publish
Mar 22, 2026
Merged

fix: add x86_64-unknown-freebsd to napi triples config#675
morgante merged 1 commit into
biomejs:mainfrom
cogwirrel:fix/napi-freebsd-publish

Conversation

@cogwirrel
Copy link
Copy Markdown
Contributor

Problem

The publish workflow failed (run #23397622520) with:

Type Error: No dist dir found for .../artifacts/bindings-freebsd/gritql.freebsd-x64.node

Root Cause

The x86_64-unknown-freebsd triple was missing from the napi triples configuration in js/gritql/package.json. The napi artifacts command needs this triple to map the FreeBSD .node file to the correct npm/freebsd-x64/ distribution directory.

Fix

Add x86_64-unknown-freebsd to the napi.triples.additional array in package.json.

The FreeBSD build artifact could not be published because the
x86_64-unknown-freebsd triple was missing from the napi triples
configuration in package.json. The napi artifacts command needs
this triple to map the .node file to the correct npm/freebsd-x64/
distribution directory.
@morgante morgante merged commit ffa7675 into biomejs:main Mar 22, 2026
24 of 29 checks passed
@github-actions github-actions Bot mentioned this pull request Dec 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants