Description
Hi everyone
I'm a newbie for react native.
Today, I got some problems when I create react native app by create-react-native-app ProjectName
? Choose a template: (Use arrow keys)
blank
The Blank project template includes the minimum dependencies to run and an empty root component.
tabs
The Tab Navigation project template includes several example screens.
something show on my screen and I choose one choice (blank).
I never seen something like that before because when I input create-react-native-app ProjectName
to terminal or cmd React-Native just created react-native app project to me.
and when I selected Blank on cmd screen show something like this to me
D:\Project>create-react-native-app myapp11
? Choose a template: blank
[17:14:03] Extracting project files...
Process exited with non-zero code: 2
ERROR: Unexpected end of data : blank-30.1.0.tar
Process
exited with non-zero code: 2
[17:14:04] zlib: unexpected end of file
[17:14:04] Set EXPO_DEBUG=true in your env to view the stack trace.
And here , this is react-native info
D:\Project>node -v
v8.12.0
D:\Project>npm-v
6.4.1
D:\Project>yarn -v
1.9.4
D:\Project>react-native -v
react-native-cli: 2.0.1
react-native: n/a - not inside a React Native project directory
I find solution to solve it but I can't .
Pls help Thanks.