Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React Native show message "[zlib: unexpected end of file" when create app #21288

Closed
astute08 opened this issue Sep 24, 2018 · 1 comment
Closed
Labels
Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.

Comments

@astute08
Copy link

astute08 commented Sep 24, 2018

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.

@react-native-bot
Copy link
Collaborator

We are automatically closing this issue because it does not appear to follow any of the provided issue templates.

Please make use of the bug report template to let us know about a reproducible bug or regression in the core React Native library.

If you'd like to propose a change or discuss a feature request, there is a repository dedicated to Discussions and Proposals you may use for this purpose.

@react-native-bot react-native-bot added Ran Commands One of our bots successfully processed a command. 📋No Template labels Sep 24, 2018
@facebook facebook locked as resolved and limited conversation to collaborators Sep 24, 2019
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Sep 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

2 participants