当我使用流利的 SQLite 时 Vapor3 崩溃

Vapor3 crash when I use fluent with SQLite

我正在学习如何通过 Vapor 制作服务器端,但我收到一个错误,我不知道为什么。

"Build Success" showed.I 顺便说下我用的是 Vapor 3.0.0-beta.0 之后会崩溃

您可以从[github]下载项目代码:https://github.com/RockyAo/ServerSide/tree/master/JSONPoll

Vapor 3 测试版目前有点不稳定,因此请确保您拥有 swift package update 的最新版本,然后重试(请注意,它现在需要 Swift 4.1)