小编Kaø*_*øsc的帖子

预期的包,运行expo doctor时发现无效

我刚刚在博览会日志上构建我的应用程序时看到了该警告。然后我在当地运行 expo doctor 并出现以下警告。我尝试删除 package-lock.json 和节点模块,然后运行“npm install”但无法修复它。有什么办法可以解决吗?

\n
expo doctor log:\n\n    \xe2\x88\x9a Found all copies of expo-modules-autolinking\n        Expected package expo-modules-autolinking@~0.8.1\n        Found invalid:\n          expo-modules-autolinking@0.5.5\n          (for more info, run: npm why expo-modules-autolinking)\n    \n        \xe2\x88\x9a Found all copies of @expo/config-plugins\n        Expected package @expo/config-plugins@^4.1.0\n        Found invalid:\n          @expo/config-plugins@4.0.18\n          (for more info, run: npm why @expo/config-plugins)\n    \n        \xe2\x88\x9a Found all copies of @expo/prebuild-config\n        Expected package @expo/prebuild-config@^4.0.0\n        Found invalid:\n          @expo/prebuild-config@3.1.6\n          (for more info, run: npm why @expo/prebuild-config)\n        \n         Didn\'t find any issues with the project!\n
Run Code Online (Sandbox Code Playgroud)\n

包.json …

react-native expo

6
推荐指数
2
解决办法
1万
查看次数

标签 统计

expo ×1

react-native ×1