[ 
https://issues.apache.org/jira/browse/FLINK-23230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17453879#comment-17453879
 ] 

Robert Metzger commented on FLINK-23230:
----------------------------------------

Another problem I'm facing is this:

{code}
[INFO] --- frontend-maven-plugin:1.11.0:npm (npm install) @ flink-runtime-web 
---
[INFO] Running 'npm ci --cache-max=0 --no-save' in 
/Users/robert/Projects/flink/flink-runtime-web/web-dashboard
[INFO] npm WARN prepare removing existing node_modules/ before installation
[INFO] npm ERR! code ENOTEMPTY
[INFO] npm ERR! syscall rmdir
[INFO] npm ERR! path 
/Users/robert/Projects/flink/flink-runtime-web/web-dashboard/node_modules/@antv
[INFO] npm ERR! errno -66
[INFO] npm ERR! ENOTEMPTY: directory not empty, rmdir 
'/Users/robert/Projects/flink/flink-runtime-web/web-dashboard/node_modules/@antv'
[INFO]
[INFO] npm ERR! A complete log of this run can be found in:
[INFO] npm ERR!     /Users/robert/.npm/_logs/2021-12-06T09_23_29_806Z-debug.log
{code}

[~maver1ck] are you seeing this too (looks like you can't run a clean build 
twice w/o deleting the node_modules)?


> Cannot compile Flink on MacOS with M1 chip
> ------------------------------------------
>
>                 Key: FLINK-23230
>                 URL: https://issues.apache.org/jira/browse/FLINK-23230
>             Project: Flink
>          Issue Type: Bug
>          Components: Build System
>    Affects Versions: 1.13.1
>            Reporter: Osama Neiroukh
>            Priority: Minor
>              Labels: pull-request-available
>
> Flink doesn't currently compile on MacOS with M1 silicon.
> This is true for all recent versions (1.13.X) as well as master.
> Some of the problems have potentially easy fixes, such as installing node 
> separately or updating the relevant pom.xml to use a newer version of node. I 
> am getting some errors about deprecated features being used which are not 
> supported by newer node, but on the surface they seem easy to resolve. 
> I've had less success with complex dependencies such as protobuf.
> My long term objective is to use and contribute to Flink. If I can get some 
> help with the above issues, I am willing to make the modifications, submit 
> the changes as a pull request, and shepherd them to release. If compilation 
> on MacOS/M1 is not a priority, I can look for a virtual machine solution 
> instead. Feedback appreciated. 
>  
> Thanks
>  
> Osama



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to