我在使用水线的 table 上工作,我只是将字段字符串更改为关系船,现在当我运行它时,我收到错误 [Error (E_UNKNOWN) Encountered an unexpected error] Details: TypeError: Cannot read property '_getPK' of undefined

之前(项目模型):

attributes: { store: 'string' ....}

更改为(项目模型):

attributes: {store: {model: 'state'} ....}

在州模式下:

attributes: { items: {collection: 'item', via: 'store' }}

先谢谢你们


编辑:

我已降级到 sails-mongo@beta ,一切正常 . 我不确定为什么会这样 .