【发布时间】:2015-05-15 07:23:36
【问题描述】:
我正在使用 Loopback 和推送组件。调用Notification.create() 时出现错误:
Cannot call Notification.create(). The create method has not been setup.
The PersistedModel has not been correctly attached to a DataSource!
我只是在运行基本的示例服务器 2.0。在代码中,我试图创建一个通知。有什么问题?
【问题讨论】:
标签: node.js push-notification loopbackjs strongloop