docker - SwiftyBeaver 失败的 Vapor Linux 构建
问题描述
我一直在尝试使用 Docker 构建我的 Vapor 项目。我正在使用默认的 web.Dockerfile。但是我遇到了这个错误:
/App/.build/checkouts/SwiftyBeaver/Sources/FileDestination.swift:135:27: error: use of unresolved identifier 'NSFileCoordinator'
我也在使用https://github.com/vapor-community/swiftybeaver-provider
(但是我的错误来自 SwiftyBeaver 本身)。该错误似乎来自为 Linux 构建 - 它在 Docker 本地构建。任何帮助将非常感激!
解决方案
推荐阅读
- quickbooks - How to filter for a object wiith a "value" and "name" in QBO api?
- javascript - Slick slider thumbs not showing
- python - 自生成密钥程序
- regex - 搜索 2 列,但第一列可能有空格
- c# - Syncfusion GridTemplateColumn 第一个输入的字母被忽略
- javascript - 如何禁用下拉菜单中的第一个链接(js)
- ember.js - npm 错误。弃用:ember-cli-babel 5.x 已被弃用。请至少升级到 ember-cli-babel 6.6
- php - 如何在两个字符之间进行 preg_replace,删除注释行?
- django - Serializers in Foreign Key Django
- curl - curl -X POST -d 用于 IPv6