taro error TypeError: (0 , _index.genCompid) is not a function

361 阅读1分钟

最近把没有写好的项目,继续完善,从git上拉下,运行的时候就报这样的错误,最后在网上有人说是版本问题,于是就试着更新一下,结果就行了。

更新 Taro CLI 工具
$ taro update self
更新项目中 Taro 相关的依赖
$ taro update project