Open zhangrenyang opened 7 months ago
修改oh-package.json5,锁死@ohos/pulltorefresh版本,重新安装
{
"license": "",
"devDependencies": {
"@ohos/hypium": "1.0.11"
},
"author": "",
"name": "huaweimall",
"description": "Please describe the basic information.",
"main": "",
"version": "1.0.0",
"dependencies": {
+ "@ohos/pulltorefresh": "2.0.1"
}
}
如果还不行就删除 oh_modules 目录,重新安装
注意一定要把前面的^去掉 "@ohos/pulltorefresh": "2.0.1"
,而不是能是"@ohos/pulltorefresh": "^2.0.1"