0

更新我的解析仪表板后,我丢失了“日志列”,如您所见:日志丢失

我刚刚升级了我的解析仪表板和我的解析服务器:

仪表板: ?。?。?(package.json https://pastebin.com/KRFaxJha )

解析服务器:2.4.0

节点:7.10.0

这是我的 parse-dashboard 配置文件:

{
  "apps": [
    {
          "appId": "APP_ID",
          "masterKey": "MASTER_KEY",
          "restKey": "REST_KEY",
          "serverURL": "http://WWW_WEBSITE:8081/parse",
          "appName":"APP_NAME"
        }
  ],
 "users": [
        {
          "user": "ADMIN",
          "pass": "ADMINXXXXXXX"
        }
 ]
}

这是我的云代码测试功能:

Parse.Cloud.define("hello", function(request, response) {
  response.success("Hello world!");
});

当我用 curl 调用它时,我有:

curl -X POST -H "X-Parse-Application-Id: APP_ID" -H "X-Parse-REST-API-Key: REST_KEY" -H "Content-Type: application/json" -d '{ }' http://WWW_WEBSITE:8081/parse/functions/hello

{"result":"Hello world!"}

结果是正确的,在解析服务器上我有跟踪:

verbose: REQUEST for [POST] /parse/functions/hello: {} method=POST, url=/parse/functions/hello, user-agent=curl/7.29.0, host=WWW_WEBSITE:8081, accept=*/*, x-parse-application-id=APPID, x-parse-rest-api-key=REST_KEY, content-type=application/json, content-length=3,
info: Ran cloud function hello for user undefined with:
  Input: {}
  Result: "Hello world!" functionName=hello, , user=undefined
verbose: RESPONSE from [POST] /parse/functions/hello: {
  "response": {
    "result": "Hello world!"
  }
} result=Hello world!

我已经看到了这个主题: https ://github.com/parse-community/parse-dashboard/issues/281 我尝试在我的解析服务器和仪表板上设置详细的导出变量

我想我错过了一些配置,但我找不到哪一个,

非常感谢,

美人蕉

4

1 回答 1

0

糟糕的仪表板版本我不知道为什么:

npm install -g parse-dashboard 修复它并安装好的仪表板版本

于 2017-05-22T16:34:35.727 回答