Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/qt/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Json slc环回:模型不允许选择数据源_Json_Strongloop - Fatal编程技术网

Json slc环回:模型不允许选择数据源

Json slc环回:模型不允许选择数据源,json,strongloop,Json,Strongloop,在完成教程之后,我无法创建模型以允许我手动选择数据源。它会自动选择db内存 通过slc环回创建了许多数据源:数据源。。。datasource.json如下所示: { "db": { "name": "db", "connector": "memory" }, "accountDB": { "name": "accountDB", "connector": "memory" }, "anotherDB": { "name": "anoth

在完成教程之后,我无法创建模型以允许我手动选择数据源。它会自动选择db内存

通过slc环回创建了许多数据源:数据源。。。datasource.json如下所示:

{
  "db": {
    "name": "db",
    "connector": "memory"
  },
  "accountDB": {
    "name": "accountDB",
    "connector": "memory"
  },
  "anotherDB": {
    "name": "anotherDB",
    "connector": "mysql"
  },
  "yetAnotherDB": {
    "name": "yetAnotherDB",
    "connector": "mongodb"
  },
  "blah2DB": {
    "name": "blah2DB",
    "connector": "mysql"
  }
}
创建模型时:

[?]输入型号名称:account

[?]输入型号名称:account

[?]选择要将帐户附加到的数据源:db内存

[?]通过REST API公开帐户?是/否

版本信息:

节点版本 v0.10.31


我无法用几乎相同的安装重现这一点。你在用什么操作系统

另外,请确定,您是否看到以下提示您粘贴的内容略有不同:

[?] Select the data-source to attach account to: (Use arrow keys)
❯ db (memory) 
如果/当你看到这些,你能试着按下箭头键吗:发生了什么

谢谢, 兰德

[?] Select the data-source to attach account to: (Use arrow keys)
❯ db (memory)