Angularjs 角度ui谷歌地图标记无法使用mozilla

Angularjs 角度ui谷歌地图标记无法使用mozilla,angularjs,google-maps,angular-google-maps,Angularjs,Google Maps,Angular Google Maps,犯这个错误。你能帮助我吗?如何解决这个问题?但CHROME浏览器运行良好。mozilla不工作 Error: Promise.defer is not a function c@http://localhost:1337/plugin/angular-google-maps/dist/angular-google-maps.min.js:5:6375 l</j.prototype.createMarkersFromScratch/</<@http://loca

犯这个错误。你能帮助我吗?如何解决这个问题?但CHROME浏览器运行良好。mozilla不工作

 Error: Promise.defer is not a function
    c@http://localhost:1337/plugin/angular-google-maps/dist/angular-google-maps.min.js:5:6375
    l</j.prototype.createMarkersFromScratch/</<@http://localhost:1337/plugin/angular-google-maps/dist/angular-google-maps.min.js:7:437
    e@http://localhost:1337/plugin/angular-google-maps/dist/angular-google-maps.min.js:5:5958
    l</j.prototype.createMarkersFromScratch@http://localhost:1337/plugin/angular-google-maps/dist/angular-google-maps.min.js:7:384
    a/<@http://localhost:1337/plugin/angular-google-maps/dist/angular-google-maps.min.js:6:29405
    j@http://localhost:1337/plugin/angular-google-maps/dist/angular-google-maps.min.js:6:31044
    e</f.prototype.link/</<@http://localhost:1337/plugin/angular-google-maps/dist/angular-google-maps.min.js:8:5487
    Ae/e/l.promise.then/F@http://localhost:1337/plugin/angular/angular.min.js:100:178
    Ae/f/<.then/<@http://localhost:1337/plugin/angular/angular.min.js:101:350
    Zd/this.$get</k.prototype.$eval@http://localhost:1337/plugin/angular/angular.min.js:112:64
    Zd/this.$get</k.prototype.$digest@http://localhost:1337/plugin/angular/angular.min.js:109:160
    Zd/this.$get</k.prototype.$apply@http://localhost:1337/plugin/angular/angular.min.js:112:396
    p</d.prototype.link/</</</<@http://localhost:1337/plugin/angular-google-maps/dist/angular-google-maps.min.js:8:941
    Vt/<@http://localhost:1337/plugin/lodash/dist/lodash.min.js:29:107
    .debounceNow@http://localhost:1337/plugin/angular-google-maps/dist/angular-google-maps.min.js:5:13771
    p</d.prototype.link/</</<@http://localhost:1337/plugin/angular-google-maps/dist/angular-google-maps.min.js:8:909
    T.trigger@https://maps.googleapis.com/maps-api-v3/api/js/20/16/main.js:18:234
    rU/<@https://maps.googleapis.com/maps-api-v3/api/js/20/16/main.js line 59 > eval line 36 > eval:15:401
    T.trigger@https://maps.googleapis.com/maps-api-v3/api/js/20/16/main.js:18:234
    gf@https://maps.googleapis.com/maps-api-v3/api/js/20/16/main.js:22:260
    N.set@https://maps.googleapis.com/maps-api-v3/api/js/20/16/main.js:21:851
    cw[H].A@https://maps.googleapis.com/maps-api-v3/api/js/20/16/main.js line 59 > eval:123:963
    S/<@https://maps.googleapis.com/maps-api-v3/api/js/20/16/main.js:16:260
错误:Promise.defer不是函数
c@http://localhost:1337/plugin/angular谷歌地图/dist/angular谷歌地图。min.js:5:6375
项目的l表明,这个问题是由于Chrome支持Promise的本地使用,而FF不支持。
开发人员建议您在项目中包含库bluebird,但这是一年前的事了,似乎不再需要了

我还使用了angular google maps指令,在FF上没有问题(没有bluebird)。您可能需要将库升级到最新版本,并确保包含自述文件中列出的所有依赖项


你能提供有关angularjs和库版本的信息吗?

我已经提供了angularjs版本。你的版本已经有一年的历史了,你能获取并试用最新版本(2.2.x)吗?你知道如何下载吗?你能发送任何链接吗?嗯,你告诉我,我不能确定。升级它并再次测试您的代码。确保您还安装并更新了库自述中列出的每个依赖项,并确保您的应用程序实际包含库:angular.module('app',['uiGmapgoogle-maps']);。如果您需要包括或更新库的广泛帮助,请打开另一个问题。