与Neo4j合作的Meteor帐户

与Neo4j合作的Meteor帐户,meteor,neo4j,meteor-accounts,Meteor,Neo4j,Meteor Accounts,我正在尝试使用neo4j获取Meteors帐户密码。这里的一个主题中已经清除了“登录”,我的问题是:如何让Accounts.createUser与Neo4j一起工作 谢谢 目前,我正在尝试: Meteor.startup(function () { Accounts.users = Meteor.neo4j.collection('User'); Accounts.createUser({username: 'admin', password: 'admin'}); }); 但会抛出此

我正在尝试使用neo4j获取Meteors帐户密码。这里的一个主题中已经清除了“登录”,我的问题是:如何让Accounts.createUser与Neo4j一起工作

谢谢

目前,我正在尝试:

Meteor.startup(function () {
  Accounts.users = Meteor.neo4j.collection('User');
  Accounts.createUser({username: 'admin', password: 'admin'});
});
但会抛出此错误:

W20151005-19:43:41.165(2)? (STDERR) { error: 
W20151005-19:43:41.166(2)? (STDERR)    { [Error: Property values can only be of primitive types or arrays thereof]
W20151005-19:43:41.166(2)? (STDERR)      message: 'Property values can only be of primitive types or arrays thereof' },
W20151005-19:43:41.166(2)? (STDERR)   uid: 'f0deded1be5deeb03ae2b29de735d81c8ee45fa518600dd16bc5cdf7de581bec',
W20151005-19:43:41.166(2)? (STDERR)   optuid: '6ebc087e0a93a04473772df8d4c2ded5ee59987ee7a870dbc0802930c565d39b',
W20151005-19:43:41.167(2)? (STDERR)   query: 'MATCH (n {_id: {_id}}) WITH count(n) AS count_n WHERE count_n <= 0 CREATE (n {properties})',
W20151005-19:43:41.167(2)? (STDERR)   opts: 
W20151005-19:43:41.167(2)? (STDERR)    { properties: 
W20151005-19:43:41.167(2)? (STDERR)       { createdAt: Mon Oct 05 2015 19:43:41 GMT+0200 (CEST),
W20151005-19:43:41.167(2)? (STDERR)         services: [Object],
W20151005-19:43:41.167(2)? (STDERR)         username: 'admin',
W20151005-19:43:41.168(2)? (STDERR)         _id: '7Dy7t5iJRbj84tFGa' },
W20151005-19:43:41.168(2)? (STDERR)      _id: '7Dy7t5iJRbj84tFGa' },
W20151005-19:43:41.168(2)? (STDERR)   date: Mon Oct 05 2015 19:43:41 GMT+0200 (CEST) }
W20151005-19:43:41.165(2)?(STDERR){错误:
W20151005-19:43:41.166(2)?(STDERR){[错误:属性值只能是基元类型或其数组]
W20151005-19:43:41.166(2)?(STDERR)消息:“属性值只能是基元类型或基元类型的数组”},
W20151005-19:43:41.166(2)?(标准)uid:'f0dedeed1be5deeb03ae2b29de735d81c8ee45fa518600dd16bc5cdf7de581bec',
W20151005-19:43:41.166(2)?(标准)选项:“6ebc087e0a93a04473772df8d4c2ded5ee59987ee7a870dbc0802930c565d39b”,

W20151005-19:43:41.167(2)?(STDERR)查询:'MATCH(n{{u id:{u id}})与count(n)匹配作为count\n在哪里count\n您使用哪种neo4j meteor绑定?我不认为这是使用ccorcos:neo4j。不,我试图使用啊。该软件包有点粗糙。您需要使用mongo才能工作。neo4j不允许嵌套值,因此这可能是您的错误源。。。