我在使用StongLoop电弧连接到StrongLoop 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按下"connect“图标后,我收到一条在"App Status”下的消息,上面写着:
unknown exception: invalid
Unknown "ServiceInstance" id "undefined".顺便说一句,第二个终端的输出是:
$ 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发布于 2015-06-04 12:11:21
在使用Arc管理进程之前,您需要构建和部署回退应用程序(使用圆弧)。通过调用$ slc arc从项目目录启动圆弧,然后从web界面单击"Build“。
您还需要从主目录而不是项目目录运行$ slc pm。这将解决你在圆弧中得到的错误信息的问题。
https://stackoverflow.com/questions/30547942
复制相似问题