编译workspace-d时出错

编译workspace-d时出错,d,D,我试图使用管理员权限在Windows 10上安装workspace-d,但失败 这是错误消息。我已经安装了dmd、dub和git PS C:\Users\U\Desktop\workspace-d-installer> .\workspace-d-installer.exe Welcome to the workspace-d installation guide. Make sure, you have dmd, dub and git installed. Which externa

我试图使用管理员权限在Windows 10上安装
workspace-d
,但失败

这是错误消息。我已经安装了dmd、dub和git

PS C:\Users\U\Desktop\workspace-d-installer> .\workspace-d-installer.exe
Welcome to the workspace-d installation guide.
Make sure, you have dmd, dub and git installed.

Which external components do you want to install?
[1] DCD - auto completion
[2] DScanner - code linting
[3] dfmt - code formatting
Enter a comma separated list of numbers
Selected [all]:
Cloning workspace-d into C:\Users\U\AppData\Local\Temp\workspaced-install-635958600835730563
Checking out v2.6.0
Compiling...
Error: Error writing file '..\..\..\..\..\..\U\AppData\Roaming\dub\packages\painlesstraits-0.1.0\.dub\build\library-release-windows-x86-dmd_2071-92537C3AEFB87AC450BFCCEE2ECBED44\painlesstraits.lib'
dmd failed with exit code 1.
Error while compiling workspace-d.

这是workspace-d-installer的一个bug。即使它只是运行shell命令,但在windows上也存在一些权限问题。如果您想在项目页面上执行任何操作,我已在项目页面上打开了一个问题:


目前唯一的解决方案是手动克隆每个存储库(workspace-d、dfmt、dscanner、dcd)并遵循它们的构建说明。我正在尝试修复该问题,以便您可以使用workspace-d-installer。

如果手动克隆workspace-d并运行“dub build”是否有效?好的,我已在编译之前推送了一个新的提交,以升级依赖项。你能从workspace-d-installer中取出并重试吗?是的,它成功了。非常感谢,但我仍然想知道为什么在我使用workspace-d-installer时它失败了。我是d.um的新手。我刚刚手动安装了它,让我稍后再试一次:-)它再次失败,并出现了相同的错误…@WebFreak001