Flow在Apple Silicon M1 mac上运行良好吗?



我得到这个从共享内存我尝试过的任何React Native+Flow项目。这是日志信息:

[2021-01-16 21:01:45.042] argv=/Users/hugo/Desktop/Admin MacBook/BeneTalk3/node_modules/flow-bin/flow-osx-v0.122.0/flow start --flowconfig-name .flowconfig --temp-dir /tmp/flow /Users/hugo/Desktop/Admin MacBook/BeneTalk3
[2021-01-16 21:01:45.042] lazy_mode=off
[2021-01-16 21:01:45.042] arch=classic
[2021-01-16 21:01:45.042] abstract_locations=off
[2021-01-16 21:01:45.042] max_workers=8
[2021-01-16 21:01:45.042] Failed to use anonymous memfd init
Out of shared memory:
Raised by primitive operation at file "src/heap/sharedMem.ml", line 43, characters 6-40

在英特尔Mac上运行良好,但似乎无法在M1上运行。

这个解决方法现在似乎有效:

https://github.com/facebook/flow/issues/8538

[options]
sharedmemory.heap_size=3221225472

最新更新