1
私は蒸気がHTMLや葉をロード使用をロードすることはできません、それは私にエラーメッセージ「500'.Theサーバーのログを提供します。ここ蒸気はhtmlと葉
[Data File Error: unable to load file at path /Users/apple/Desktop/QSSwiftServer/Resources/Views/welcome.leaf]
[Identifier: Core.DataFileError.load]
[Possible Causes: file doesn't exist, missing read permissions at specified path, data read is corrupted, system issue]
[Suggested Fixes: ensure that file permissions are correct for specified paths]
[Documentation Links: https://developer.apple.com/reference/foundation/filemanager]
が私のコードで私を見る:
get { req in
return try self.view.make("welcome.leaf", ["message": "Hello world!"])
}
どのように私はこの問題を解決することができますか?
にあるはずです@CalebKleveter私は同じエラーに直面しました。もっと詳しく説明できますか? – lee
@leeこの質問に答えるのに十分な情報がありません。私は、ファイルへの実際のパス、アクセス権、その他のものを知る必要があります。 –