无法使用expo init my-app和npm -install命令

时间:2019-04-28 20:23:53

标签: react-native

我无法在Windows 7计算机上安装React Native应用程序。

尝试执行以下步骤时,无法提取

lottie-extract-native模块:

  1. 运行命令expo init my-app
  2. 导航到项目文件夹并运行npm install命令
C:\Users\Welcome\Desktop\Library\node\react-projects\react-native>npm install
Terminate batch job (Y/N)?
^C
C:\Users\Welcome\Desktop\Library\node\react-projects\react-native>cd myapp
The system cannot find the path specified.

C:\Users\Welcome\Desktop\Library\node\react-projects\react-native>cd my-app

C:\Users\Welcome\Desktop\Library\node\react-projects\react-native\my-app>npm install
npm WARN deprecated core-js@1.2.7: core-js@<2.6.5 is no longer maintained. Please, upgrade to core-j
s@3 or at least to actual version of core-js@2.
npm WARN tarball tarball data for react-native@https://github.com/expo/react-native/archive/sdk-32.0
.0.tar.gz (sha512-+taJh7bN2owmwaZpJUrNpHdmPAL6ZynNCZj15uLQgjaPFq0ZBIG2ZWuSJ48eGoUjAb3lrWxkmLlHb2eJFX
c7sQ==) seems to be corrupted. Trying one more time.
[            ......] / extract: sill extract lottie-react-native@2.5.0 extracted to C:\Users\Welcom

有人可以帮我解决问题吗?

0 个答案:

没有答案