【问题标题】:FlowType not installing with BrewFlowType 未与 Brew 一起安装
【发布时间】:2018-05-17 09:05:49
【问题描述】:

我无法使用 brew 在 Mac OS 上安装 FlowType。我输入了:

$> brew update
...
$> brew install flow

Error: You must `brew link objective-caml' before flow can be installed

$> brew link objective-caml

Linking /usr/local/Cellar/objective-caml/4.02.1_2... 
Error: Could not symlink share/man/man3/Weak.S.3o
/usr/local/share/man/man3 is not writable.

$> 

怎么了?

【问题讨论】:

标签: homebrew flowtype


【解决方案1】:

请尝试更改权限 sudo chown -R $USER /usr/local/lib

【讨论】:

    【解决方案2】:

    flow 的官方安装方法是使用 yarn(或 npm)在本地每个项目。

    yarn add --dev flow-bin

    或 与npm

    npm install --save-dev flow-bin

    https://flow.org/en/docs/install/查看完整说明

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-02-11
      • 1970-01-01
      • 2021-05-03
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多