Skip to content
Discussion options

You must be logged in to vote

Right, because the problem would be either, at install or postinstall.

  • next build uses SWC, which is itself a native binary - it has to match the builder arch - but it only outputs JS - you don't need it at runtime.
  • the rest of the next build process, outputs other static files that do not depend on architecture (HTML, JS, CSS, etc)
  • What does depend on the builder arch are certain packages/dependencies, for example sharp

Perhaps you'd need to install the versions for the architectures you need? With pnpm you'd use this: https://pnpm.io/settings#supportedarchitectures - this should include the architectures you want to deploy to.

So then standalone would include them all - I believe - so…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@icyJoseph
Comment options

@escherstair
Comment options

@icyJoseph
Comment options

Answer selected by escherstair
@escherstair
Comment options

@icyJoseph
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants