无法启动 psc-ide-server 进程。检查配置的端口号是否有效。 psc-ide-服务器错误

Could not start psc-ide-server process. Check the configured port number is valid. psc-ide-server error

我的最终目标是为 Purescript 使用 Atom IDE 插件,这给了我错误:

Could not start psc-ide-server process. Check the configured port number is valid. psc-ide-server error

我刚刚使用 npm 安装了 Purescript 0.8.2。

npm install -g purescript
...
purescript@0.8.2 postinstall /usr/local/lib/node_modules/purescript

  ✔ psc pre-build test passed successfully
  ✔ psc-bundle pre-build test passed successfully
  ✔ psc-docs pre-build test passed successfully
  ✔ psc-publish pre-build test passed successfully
  ✔ psci pre-build test passed successfully

它应该有 psc-ide-serverpsc-ide-client 吗?我在 purescript master 分支中看到这些文件夹,并且 release doc 提到它现在与编译器一起分发。 我如何访问它?

在我的 /usr/local/lib/node_modules/purescript/bin 中,我看到 psc-bundle,psc-docs,psc-publish,psc, psci 但没有 psc-ide-serverpsc-ide-client

此版本的 npm 发行版中缺少二进制文件。您可以从 GitHub.

的发布包中获取它们

https://github.com/purescript/purescript/releases

如果你把它们放在你的路径中,ide-purescript 应该开始工作。