Skip to content

Update Node.js to v18 to fix build on Apple Silicon#98

Merged
mseaton merged 2 commits intomasterfrom
fix/build-on-apple-silicon
Nov 25, 2025
Merged

Update Node.js to v18 to fix build on Apple Silicon#98
mseaton merged 2 commits intomasterfrom
fix/build-on-apple-silicon

Conversation

@denniskigen
Copy link
Copy Markdown
Member

@denniskigen denniskigen commented Nov 25, 2025

Node.js v14.7.0 doesn't have binaries for darwin-arm64 (Apple Silicon), causing build failures on M1/M2/M3 Macs. v18.20.5 supports all modern platforms including Apple Silicon and is compatible with the NODE_OPTIONS=--openssl-legacy-provider flag. That version of Node should work on all common platforms because it has official binaries for:

  • macOS Apple Silicon (darwin-arm64)
  • macOS Intel (darwin-x64)
  • Linux x64 (linux-x64)
  • Linux ARM (linux-arm64)
  • Windows x64 (win-x64)
  • Windows x86 (win-x86)

Changes in this diff include the following:

  • Updated Node.js from v14.7.0 to v18.20.5
  • Updated Yarn from v1.3.2 to v1.22.19
  • Updated frontend-maven-plugin from 1.6 to 1.12.1

Before (mvn clean package on M4 Max)

CleanShot 2025-11-25 at 20 44 57@2x

After

CleanShot 2025-11-25 at 21 36 04@2x

- Updated Node.js from v14.7.0 to v18.20.5
- Updated Yarn from v1.3.2 to v1.22.19
- Updated frontend-maven-plugin from 1.6 to 1.12.1

Node.js v14.7.0 doesn't have binaries for darwin-arm64 (Apple Silicon),
causing build failures on M1/M2/M3 Macs. v18.20.5 supports all modern
platforms including Apple Silicon and is compatible with the
`NODE_OPTIONS=--openssl-legacy-provider` flag.
@mseaton mseaton merged commit cc6fc26 into master Nov 25, 2025
1 check passed
@mseaton mseaton deleted the fix/build-on-apple-silicon branch November 25, 2025 19:18
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