无法使用StrongLoop Arc连接到StrongLoop PM

我无法使用StrongLoop Arc连接到StongLoop PM。 我遵循这些方向 。

这是我的尝试:

# in one terminal window, I started up StrongLoop PM $ nvm install v0.12.4 $ nvm alias default 0.12.4 $ npm install -g strongloop $ slc loopback > name: hello-strongloop > directory: hello-strongloop $ cd hello-strongloop $ slc pm # in another new terminal window, I started Arc $ slc arc # enter login credentials, click process manager, and add pm host > host: localhost > port: 8701 

按下“连接”图标后,我在“应用程序状态”下面收到一条消息:

 unknown exception: invalid Unknown "ServiceInstance" id "undefined". 

顺便提一句,第二个terminal的输出是:

 $ slc arc Loading workspace /home/s/strongloop/hello-strongloop Embedded Process Manager [(none)]: starting StrongLoop Arc is running here: http://localhost:60520/#/ slc arc: StrongLoop PM v3.2.0 (API v5.1.0) listening on port `47743` slc arc: listen on 47743, work base is `/home/s/strongloop/hello-strongloop/.strong-pm` Embedded Process Manager [28647]: started Embedded Process Manager [28647]: using port 47743 loopback-datasource-juggler deprecated Model hook "ManagerHost.beforeCreate" is deprecated, use Operation hooks instead. http://docs.strongloop.com/display/LB/Operation+hooks ../../.nvm/versions/v0.12.4/lib/node_modules/strongloop/node_modules/loopback-datasource-juggler/lib/dao.js:270:9 

您需要构build和部署环回应用程序(使用Arc),然后才能使用Arc来pipe理这些进程。 通过调用$ slc arc从项目目录启动Arc,然后从Web界面单击“构build和部署”。

您还需要从您的主目录运行$ slc pm ,而不是您的项目目录。 这将解决您在Arc中遇到的错误消息的问题。