简体   繁体   English

部署 init vapor 4 项目导致错误

[英]Deploying init vapor 4 project causing error

I've tried deploying an init vapor 4 project on Heroku and Digital Ocean and keep getting the same error:我尝试在 Heroku 和 Digital Ocean 上部署一个 init vapor 4 项目并不断收到相同的错误:

error: https://github.com/vapor/vapor.git has no Package.swift manifest for version 4.4.1

my swift package is pointing to:我的 swift package 指向:

.package(url: "https://github.com/vapor/vapor.git", from: "4.5.0")

Try removing your .build directory and Package.resolved and trying again尝试删除您的.build目录和 Package.resolved 并重试

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM