1

我正在尝试使用带有 railjs 的 couchdb 的底座适配器,但它不起作用。这是基本安装,我已经安装了底座。

database.json
{ "development":
  { "driver":   "cradle"
  }
, "test":
  { "driver":   "memory"
  }
, "production":
  { "driver":   "memory"
  }
}


$ railway server 8888
Error while executing /cms/npmfile.js
Error while executing npmfile.js

/cms/node_modules/railway/lib/railway_utils.js:168
        throw e;
              ^
TypeError: Cannot read property 'freezeSchema' of undefined
    at Schema.freeze (/cms/node_modules/jugglingdb/lib/schema.js:325:21)
    at module.exports.displayWarning (/cms/node_modules/jugglingdb/lib/railway.js:78:12)
    at Array.forEach (native)
    at init (/cms/node_modules/jugglingdb/lib/railway.js:77:22)
    at Object.exports.init (/cms/node_modules/jugglingdb/index.js:14:29)
    at ctx.require (/cms/node_modules/railway/lib/extensions.js:38:17)
    at npmfile.js:2:1
    at Script.Object.keys.forEach.(anonymous function) [as runInNewContext] (vm.js:41:22)
    at Object.runCode (/cms/node_modules/railway/lib/railway_utils.js:165:11)
    at Object.exports.init (/cms/node_modules/railway/lib/extensions.js:21:15)

有任何想法吗?

4

0 回答 0