【发布时间】:2018-12-18 23:33:57
【问题描述】:
我在我的 node.js 应用程序中使用 GeoFirestore。在文件的第一行我有:
var GeoFirestore = require("geofirestore");
然后我使用代码
const geoFirestore = new GeoFirestore(collectionRef);
collectionRef 是 my firestore 集合的有效引用。
问题是我得到了错误
“TypeError:GeoFirestore 不是构造函数”
这里有什么问题?感谢您的帮助。
【问题讨论】:
标签: node.js geofirestore