TypeError: _.includes is not a function, Angular Google Maps

梦想的初衷 提交于 2019-12-11 11:10:01

问题


While integrating google maps using angular-google-maps 2.3.1 with lodash 4.3.0 (Custom Build) , I am getting this error.

From some links I got to know they have some issues in latest version but I am not able to find the exact reason behind this issue.


回答1:


As I post in a comment, I had the same problem and I solved it downgrading lodash until version 3.8.0.

Not sure why version 4.x doesn't work properly at the moment.



来源:https://stackoverflow.com/questions/35298931/typeerror-includes-is-not-a-function-angular-google-maps

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!