我正在尝试在AWS上安装Parse Dashboard。公共目录有效,但/ apps目录为空。
查看日志时我看到了
> parse-dashboard@1.0.14 start /var/app/current
> node ./Parse-Dashboard/index.js
Your config file contains invalid JSON. Exiting.
我正在从github部署parse-dashboard。我输入了parse-dashboard-config.json中与parse.com上的键匹配的值。
这是我正在使用的JSON
{
"apps": [
{
"serverURL": "xxxxxxxxxxxxxxxxxxxxxxx/parse",
"appId": "xxxxxxxxxxxxxxxxxxxxxxxxxxx",
"masterKey": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"appName": "xxxxxxxxxxxxxx"
}
],
"iconsFolder": "icons"
}
在index.js中,日志由
生成129 if (error instanceof SyntaxError) {
130 console.log('Your config file contains invalid JSON. Exiting.');
131 process.exit(1);
132 }