无法启动 DAML 工作室

Unable to launch DAML studio

在 MacOs,当我尝试从命令行启动 daml studio 时,我收到几个错误并且它没有启动。

我已经完成了 DAML 的所有安装要求,包括安装 Visual Studio 在我的 Mac 上成功运行的代码以及最新的 Java SDK。我完成了快速入门,DAML 使用 http://localhost:4000 上的 IOU 在我的系统上成功运行。我正确地更新了 %PATH 并且已经完成了两次说明以确保我没有遗漏任何东西。

这是我发布的内容及其提供的结果...

MacBook-Pro-2:quickstart aron.elston$ daml studio
/bin/sh: code: command not found

Failed to install DAML Studio extension from marketplace.
Installing bundled DAML Studio extension instead.
/bin/sh: code: command not found

Failed to install DAML Studio extension from SDK bundle.
Please open an issue on GitHub with the above message.
https://github.com/digital-asset/daml/issues/new?template=bug_report.md
/bin/sh: code: command not found

Failed to launch DAML studio. Make sure Visual Studio Code is installed.
See https://code.visualstudio.com/Download for installation instructions.

MacBook-Pro-2:quickstart aron.elston$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/aron.elston/.daml/bin
MacBook-Pro-2:quickstart aron.elston$ pwd
/Users/aron.elston/.daml/bin/quickstart
MacBook-Pro-2:quickstart aron.elston$ 

我希望它能在 Visual Studio 代码中打开项目,但我却收到如上所示的错误。

看起来启动 VS 代码的 code 命令在命令行上不可用。这应该可以按照此处的说明进行修复:https://code.visualstudio.com/docs/setup/mac#_launching-from-the-command-line