无法在OSX Mojave 10.14.6(18G1012)上构建作曲家

我正在尝试首次运行composer,但是由于错误而失败。我正在通过自制程序安装NPM,Node和Yarn。还有其他我想安装的东西吗?

这是输出日志,有什么想法吗?

//util
public static String mapFormat(String template,HashMap<String,String> mapSet) {
    String res = template;
    for (String key : mapSet.keySet()) {
        res = template.replace(String.format("{%s}",key),mapSet.get(key));
    }
    return res;
}

//use

public static void main(String[] args) {
    boolean isOn=false;
    HashMap<String,String> kvMap=new HashMap<String,String>();
    kvMap.put("isOn",isOn+"");
    String exp=StringUtils.mapFormat("http://localhost/api/go?isOn={isOn}",kvMap);
    System.out.println(exp);
}
bonwemeters 回答:无法在OSX Mojave 10.14.6(18G1012)上构建作曲家

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/3158620.html

大家都在问