expo-cli安装出现问题

时间:2020-04-13 06:46:36

标签: react-native

我已经尝试了很多次安装expo-Cli的方式,并阅读了许多文章来解决安装失败的问题,但问题仍然出在我身上。 这些是我尝试过的命令: :-npm install --global expo-Cli :-npm安装-g expo-cli@3.5.0 :-npm install expo-CLI -g --unsafe-perm

这些命令给了我这个,

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @expo/traveling-fastlane- 
linux@1.13.1 (node_modules\expo-cli\node_modules\@expo\traveling-fastlane-linux):
 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: sha512-6VnrOfbU9vOtdVpkalu23q1BIyoj5AKALDWo2mVhoPm8Qi9xiIdjT+pfiMeBUDrRuAitRZ3DORmpz4RtsZqDsg== integrity checksum failed when using sha512: wanted sha512-6VnrOfbU9vOtdVpkalu23q1BIyoj5AKALDWo2mVhoPm8Qi9xiIdjT+pfiMeBUDrRuAitRZ3DORmpz4RtsZqDsg== but got sha512-73arBXTbtRBQRqj3Cfvtj/EVVhcifIIWI5oCV7EPv77Hgm91IVPvhvje2ASlbvgjsqGnLTDLufUJVXBp7OAh0A==. (1218955 bytes)
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @expo/traveling-fastlane-darwin@1.13.1 (node_modules\expo-cli\node_modules\@expo\traveling-fastlane-darwin):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: sha512-3YivoxYTmvuA3/DZR3vAm4+6zqSnzUoaMiKTtVVJO8ykAnBrpAL4oxyZqG9FBe7H4Sz4GCk1pUAx9COIXvYGpw== integrity checksum failed when using sha512: wanted sha512-3YivoxYTmvuA3/DZR3vAm4+6zqSnzUoaMiKTtVVJO8ykAnBrpAL4oxyZqG9FBe7H4Sz4GCk1pUAx9COIXvYGpw== but got sha512-z3Znz/k1/+Kv+holVUcX4PNMMxZIiOgq2vY7UCIYyhryhRJTB+v3Lq6oasXyoo5pKw1y88aoCgpf6VQKHOD7OA==. (924046 bytes)
npm ERR! Unexpected end of JSON input while parsing near '...t":"^0.6.0","uuid":"^'

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\siso\AppData\Roaming\npm-cache\_logs\2020-04-12T08_54_43_393Z-debug.log

有什么有用的安装或修复方法吗? 提前致谢!!

0 个答案:

没有答案