Javascript loopback tx.notifyObserversOf不是函数错误

Javascript loopback tx.notifyObserversOf不是函数错误,javascript,loopback,loopback3,Javascript,Loopback,Loopback3,在Loopback3中,我正在从oracle迁移到postgres和交换连接器,并很好地更改了模型。我唯一的错误是: TypeError: tx.notifyObserversOf is not a function at Timeout._onTimeout (api\node_modules\loopback-connector\lib\transaction.js:124:12) at listOnTimeout (internal/timers.js:549:17) at process

在Loopback3中,我正在从oracle迁移到postgres和交换连接器,并很好地更改了模型。我唯一的错误是:

TypeError: tx.notifyObserversOf is not a function
at Timeout._onTimeout (api\node_modules\loopback-connector\lib\transaction.js:124:12)
at listOnTimeout (internal/timers.js:549:17)
at processTimers (internal/timers.js:492:7)
api\node\u modules\loopback connector\lib\transaction.js:124

tx.notifyObserversOf('timeout',上下文,函数(err){


如何修复此问题?

尝试安装环回连接器-postgresql@3.9.1版本,对我来说很有效

我认为这是由于安装的节点版本,我使用的是10.17