TypeError: _.includes is not a function, Angular G

2019-08-08 15: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条回答
SAY GOODBYE
2楼-- · 2019-08-08 15:41

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.

查看更多
登录 后发表回答