js-newbee / taro-yanxuan

首个 Taro 多端统一实例 - 网易严选(小程序 + H5 + React Native) - By 趣店 FED
MIT License
2.65k stars 562 forks source link

UnhandledPromiseRejectionWarning: TypeError: items.forEach is not a function #51

Open niemquan opened 4 years ago

niemquan commented 4 years ago

image

loycoder commented 4 years ago

taro 版本问题,本地项目和 cli不一致导致的,之前也遇到了

mofeiren commented 4 years ago

在有package.json目录运行 1、taro update project 2.2.2 2、npm i 然后最好把新版config/index.js复制过去,会改就自己改