TypeError: xxx.flatMap is not a function

前端 未结 0 1520
野趣味
野趣味 2021-02-13 11:19

I am trying to parse xml file to json and then bulk index it into elastic search. This is my code:

require(\'array.prototype.flatmap\').shim()
const fs = require(         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题