core js报错

落月追风 11 0 PDF 2021-01-16 11:01:57

报错: Can’t resolve ‘E:\......\node_modules\core-js\modules\es.array.iterator.js’ 原因: core-js版本问题,下载最新版本core-js即可。 解决过程: 1、查看node_modules下没有core-js,于是安装npm i core-js@2,还是报错!! 2、再查看node_modules下的core-js,里面确实没有es.array.iterator.js。 3、查看package-lock.json文件,里面引用的都是3以上的版本,比如 package-lock.json: dependencies:

用户评论
请输入评论内容
评分:
暂无评论