expo init 失败 React-native@https://github.com/expo/react-nati



我正在关注 React Native 入门。我安装了 expo-cli 全局,但是

expo init AwesomeProject

失败出现以下错误:

npm WARN deprecated deep-assign@3.0.0: Check out `lodash.merge` or `merge-options` instead.
npm WARN tarball tarball data for react-native@https://github.com/expo/react-native/archive/sdk-33.0.0.tar.gz (sha512-/qr69tLChymCyNpTvBiHpepa1ufF43cCMtUzpaQxmCwG6Kz5Z9XqyoEP1lJaJ/BNFj/Bp9+l+LIHwvrDoPBnfQ==) seems to be corrupted. Trying one more time.

运行:

command adb kill-server

以前:

npx expo init AwesomeProject

重新安装世博不起作用,但我能够使用 npx 解决这个问题。我想这就是 npx 的用途 🤷

npx expo init AwesomeProject

尝试使用"以管理员身份运行"打开终端。

最新更新