[错误?] 尝试检查架构时调用 MarshalHCL 发生错误
作者: scoquelin创建于 2025年2月20日更新于 2026年9月29日
我使用 Windows 系统,正在尝试使用 : .\atlas.exe schema inspect -u "postgres://babelfish_user:@localhost:5432/babelfish_db?search_path=dbo&sslmode=disable" 来检查 Postgres 方案,但收到以下错误 ⚠ :
Error: template: inspect:1:4: executing "inspect" at <$.MarshalHCL>: error calling MarshalHCL: must not call ListVal with empty slice
还尝试了 : .\atlas.exe schema inspect -u "postgres://babelfish_user:@localhost:5432/babelfish_db?sslmode=disable" -s dbo,也收到相同的错误。
内容来源: ariga/atlas