You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Martijn Visser (Jira)" <ji...@apache.org> on 2026/08/17 19:09:00 UTC
[jira] [Closed] (FLINK-28260) flink-runtime-web fails to execute "npm ci" on Apple Silicon (arm64) without rosetta
[ https://issues.apache.org/jira/browse/FLINK-28260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martijn Visser closed FLINK-28260.
----------------------------------
Resolution: Cannot Reproduce
> flink-runtime-web fails to execute "npm ci" on Apple Silicon (arm64) without rosetta
> ------------------------------------------------------------------------------------
>
> Key: FLINK-28260
> URL: https://issues.apache.org/jira/browse/FLINK-28260
> Project: Flink
> Issue Type: Bug
> Components: Build System, Runtime / Web Frontend
> Reporter: Robert Metzger
> Priority: Major
>
> Flink 1.16-SNAPSHOT fails to build in the flink-runtime-web project because we are using an outdated frontend-maven-plugin (v 1.11.3).
> This is the error:
> {code}
> [ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.11.3:npm (npm install) on project flink-runtime-web: Failed to run task: 'npm ci --cache-max=0 --no-save ${npm.proxy}' failed. java.io.IOException: Cannot run program "/Users/rmetzger/Projects/flink/flink-runtime-web/web-dashboard/node/node" (in directory "/Users/rmetzger/Projects/flink/flink-runtime-web/web-dashboard"): error=86, Bad CPU type in executable -> [Help 1]
> {code}
> Using the latest frontend-maven-plugin (v. 1.12.1) properly passes the build, because this version downloads the proper arm64 npm version. However, frontend-maven-plugin 1.12.1 requires Maven 3.6.0, which is too high for Flink (highest mvn version for Flink is 3.2.5).
> The best workaround is using rosetta on M1 Macs.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)