Skip to content
Discussion options

You must be logged in to vote

Agreed that package-lock.json should behave differently here. I opened #942 to make npm lockfile writes follow npm's cross-platform optional-native semantics: aube will record the foreign optional native packages in package-lock.json, while still filtering them out before fetch/link for the current host.

Once that lands, a macOS aube add / aube update followed by Linux npm ci should keep the esbuild/Vite native package entries without needing supportedArchitectures. Until it is released, the workaround above still applies: set supportedArchitectures or regenerate/repair the npm lockfile on the Linux target.

This comment was generated by Codex.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@krombel
Comment options

Answer selected by krombel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants