React Native expo init command failed
up vote
2
down vote
favorite
I wanted to follow this tutorial (https://facebook.github.io/react-native/docs/getting-started.html) to start learning react-native.
I followed the first steps and I ran into some issues on the command line: expo init AwesomeProject
Here's the log :
PS C:UsersANTDreact_native> expo init AwesomeProject2
? Choose a template: blank
[09:06:11] Extracting project files...
Process exited with non-zero code: 2
ERROR: C:UsersANTD.expostarter-app-cacheblank-31.0.0.tar.gz
C:UsersANTD.expostarter-app-cacheblank-31.0.0.tar.gz
Open ERROR: Can not open the file as [gzip] archive
ERRORS:
Is not archive
Process exited with non-zero code: 2
[09:06:11] Customizing project...
[09:06:11] ENOENT: no such file or directory, open 'C:UsersANTDreact_nativeAwesomeProject2app.json'
[09:06:11] Set EXPO_DEBUG=true in your env to view the stack trace.
I searched on the github page and on forums but didn't find info on this.
I also tried this :
deleted files in .expo folder
npm -g uninstall expo-cli --save
npm install -g expo-cli@latest
But same issue.
blank-31.0.0.tar.gz file is empty with only html tags.
Might be the issue but I don't know what to do...
Thanks
react-native npm expo
add a comment |
up vote
2
down vote
favorite
I wanted to follow this tutorial (https://facebook.github.io/react-native/docs/getting-started.html) to start learning react-native.
I followed the first steps and I ran into some issues on the command line: expo init AwesomeProject
Here's the log :
PS C:UsersANTDreact_native> expo init AwesomeProject2
? Choose a template: blank
[09:06:11] Extracting project files...
Process exited with non-zero code: 2
ERROR: C:UsersANTD.expostarter-app-cacheblank-31.0.0.tar.gz
C:UsersANTD.expostarter-app-cacheblank-31.0.0.tar.gz
Open ERROR: Can not open the file as [gzip] archive
ERRORS:
Is not archive
Process exited with non-zero code: 2
[09:06:11] Customizing project...
[09:06:11] ENOENT: no such file or directory, open 'C:UsersANTDreact_nativeAwesomeProject2app.json'
[09:06:11] Set EXPO_DEBUG=true in your env to view the stack trace.
I searched on the github page and on forums but didn't find info on this.
I also tried this :
deleted files in .expo folder
npm -g uninstall expo-cli --save
npm install -g expo-cli@latest
But same issue.
blank-31.0.0.tar.gz file is empty with only html tags.
Might be the issue but I don't know what to do...
Thanks
react-native npm expo
Seems to be a network issue. Can you give a try once more!
– varit05
Nov 15 at 13:57
add a comment |
up vote
2
down vote
favorite
up vote
2
down vote
favorite
I wanted to follow this tutorial (https://facebook.github.io/react-native/docs/getting-started.html) to start learning react-native.
I followed the first steps and I ran into some issues on the command line: expo init AwesomeProject
Here's the log :
PS C:UsersANTDreact_native> expo init AwesomeProject2
? Choose a template: blank
[09:06:11] Extracting project files...
Process exited with non-zero code: 2
ERROR: C:UsersANTD.expostarter-app-cacheblank-31.0.0.tar.gz
C:UsersANTD.expostarter-app-cacheblank-31.0.0.tar.gz
Open ERROR: Can not open the file as [gzip] archive
ERRORS:
Is not archive
Process exited with non-zero code: 2
[09:06:11] Customizing project...
[09:06:11] ENOENT: no such file or directory, open 'C:UsersANTDreact_nativeAwesomeProject2app.json'
[09:06:11] Set EXPO_DEBUG=true in your env to view the stack trace.
I searched on the github page and on forums but didn't find info on this.
I also tried this :
deleted files in .expo folder
npm -g uninstall expo-cli --save
npm install -g expo-cli@latest
But same issue.
blank-31.0.0.tar.gz file is empty with only html tags.
Might be the issue but I don't know what to do...
Thanks
react-native npm expo
I wanted to follow this tutorial (https://facebook.github.io/react-native/docs/getting-started.html) to start learning react-native.
I followed the first steps and I ran into some issues on the command line: expo init AwesomeProject
Here's the log :
PS C:UsersANTDreact_native> expo init AwesomeProject2
? Choose a template: blank
[09:06:11] Extracting project files...
Process exited with non-zero code: 2
ERROR: C:UsersANTD.expostarter-app-cacheblank-31.0.0.tar.gz
C:UsersANTD.expostarter-app-cacheblank-31.0.0.tar.gz
Open ERROR: Can not open the file as [gzip] archive
ERRORS:
Is not archive
Process exited with non-zero code: 2
[09:06:11] Customizing project...
[09:06:11] ENOENT: no such file or directory, open 'C:UsersANTDreact_nativeAwesomeProject2app.json'
[09:06:11] Set EXPO_DEBUG=true in your env to view the stack trace.
I searched on the github page and on forums but didn't find info on this.
I also tried this :
deleted files in .expo folder
npm -g uninstall expo-cli --save
npm install -g expo-cli@latest
But same issue.
blank-31.0.0.tar.gz file is empty with only html tags.
Might be the issue but I don't know what to do...
Thanks
react-native npm expo
react-native npm expo
edited Nov 15 at 8:31
Aprillion
7,82422461
7,82422461
asked Nov 15 at 8:19
AnthonyDa
62112
62112
Seems to be a network issue. Can you give a try once more!
– varit05
Nov 15 at 13:57
add a comment |
Seems to be a network issue. Can you give a try once more!
– varit05
Nov 15 at 13:57
Seems to be a network issue. Can you give a try once more!
– varit05
Nov 15 at 13:57
Seems to be a network issue. Can you give a try once more!
– varit05
Nov 15 at 13:57
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
Same issue here, seems like a network problem to me.
I dug into the source code of expo-cli, found the download link for the template:
"templatesv2": [
{
"description": "The Blank project template includes the minimum dependencies to run and an empty root component.",
"iconUrl": "https://d306o6r76fnu7o.cloudfront.net/template_icon_blank.png",
"id": "blank",
"name": "Blank",
"url": "https://d306o6r76fnu7o.cloudfront.net/blank-31.0.0.tar.gz",
"version": "31.0.0"
},
{
"description": "The Tab Navigation project template includes several example screens.",
"iconUrl": "https://d306o6r76fnu7o.cloudfront.net/template_icon_tabs.png",
"id": "tabs",
"name": "Tab Navigation",
"url": "https://d306o6r76fnu7o.cloudfront.net/tabs-31.0.0.tar.gz",
"version": "31.0.0"
}
],
So I manually download the file and unzip, cd into it and run expo start... and got stuck for about 20 minutes.
After I lost my patience and pressed Ctrl+C to kill this process, then I tried npm run android and it worked!
I also tried npm start afterwards, and it seems to work too.
thx but I gave up and I'm using expo snack instead ^^'
– AnthonyDa
Nov 15 at 15:25
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
Same issue here, seems like a network problem to me.
I dug into the source code of expo-cli, found the download link for the template:
"templatesv2": [
{
"description": "The Blank project template includes the minimum dependencies to run and an empty root component.",
"iconUrl": "https://d306o6r76fnu7o.cloudfront.net/template_icon_blank.png",
"id": "blank",
"name": "Blank",
"url": "https://d306o6r76fnu7o.cloudfront.net/blank-31.0.0.tar.gz",
"version": "31.0.0"
},
{
"description": "The Tab Navigation project template includes several example screens.",
"iconUrl": "https://d306o6r76fnu7o.cloudfront.net/template_icon_tabs.png",
"id": "tabs",
"name": "Tab Navigation",
"url": "https://d306o6r76fnu7o.cloudfront.net/tabs-31.0.0.tar.gz",
"version": "31.0.0"
}
],
So I manually download the file and unzip, cd into it and run expo start... and got stuck for about 20 minutes.
After I lost my patience and pressed Ctrl+C to kill this process, then I tried npm run android and it worked!
I also tried npm start afterwards, and it seems to work too.
thx but I gave up and I'm using expo snack instead ^^'
– AnthonyDa
Nov 15 at 15:25
add a comment |
up vote
0
down vote
Same issue here, seems like a network problem to me.
I dug into the source code of expo-cli, found the download link for the template:
"templatesv2": [
{
"description": "The Blank project template includes the minimum dependencies to run and an empty root component.",
"iconUrl": "https://d306o6r76fnu7o.cloudfront.net/template_icon_blank.png",
"id": "blank",
"name": "Blank",
"url": "https://d306o6r76fnu7o.cloudfront.net/blank-31.0.0.tar.gz",
"version": "31.0.0"
},
{
"description": "The Tab Navigation project template includes several example screens.",
"iconUrl": "https://d306o6r76fnu7o.cloudfront.net/template_icon_tabs.png",
"id": "tabs",
"name": "Tab Navigation",
"url": "https://d306o6r76fnu7o.cloudfront.net/tabs-31.0.0.tar.gz",
"version": "31.0.0"
}
],
So I manually download the file and unzip, cd into it and run expo start... and got stuck for about 20 minutes.
After I lost my patience and pressed Ctrl+C to kill this process, then I tried npm run android and it worked!
I also tried npm start afterwards, and it seems to work too.
thx but I gave up and I'm using expo snack instead ^^'
– AnthonyDa
Nov 15 at 15:25
add a comment |
up vote
0
down vote
up vote
0
down vote
Same issue here, seems like a network problem to me.
I dug into the source code of expo-cli, found the download link for the template:
"templatesv2": [
{
"description": "The Blank project template includes the minimum dependencies to run and an empty root component.",
"iconUrl": "https://d306o6r76fnu7o.cloudfront.net/template_icon_blank.png",
"id": "blank",
"name": "Blank",
"url": "https://d306o6r76fnu7o.cloudfront.net/blank-31.0.0.tar.gz",
"version": "31.0.0"
},
{
"description": "The Tab Navigation project template includes several example screens.",
"iconUrl": "https://d306o6r76fnu7o.cloudfront.net/template_icon_tabs.png",
"id": "tabs",
"name": "Tab Navigation",
"url": "https://d306o6r76fnu7o.cloudfront.net/tabs-31.0.0.tar.gz",
"version": "31.0.0"
}
],
So I manually download the file and unzip, cd into it and run expo start... and got stuck for about 20 minutes.
After I lost my patience and pressed Ctrl+C to kill this process, then I tried npm run android and it worked!
I also tried npm start afterwards, and it seems to work too.
Same issue here, seems like a network problem to me.
I dug into the source code of expo-cli, found the download link for the template:
"templatesv2": [
{
"description": "The Blank project template includes the minimum dependencies to run and an empty root component.",
"iconUrl": "https://d306o6r76fnu7o.cloudfront.net/template_icon_blank.png",
"id": "blank",
"name": "Blank",
"url": "https://d306o6r76fnu7o.cloudfront.net/blank-31.0.0.tar.gz",
"version": "31.0.0"
},
{
"description": "The Tab Navigation project template includes several example screens.",
"iconUrl": "https://d306o6r76fnu7o.cloudfront.net/template_icon_tabs.png",
"id": "tabs",
"name": "Tab Navigation",
"url": "https://d306o6r76fnu7o.cloudfront.net/tabs-31.0.0.tar.gz",
"version": "31.0.0"
}
],
So I manually download the file and unzip, cd into it and run expo start... and got stuck for about 20 minutes.
After I lost my patience and pressed Ctrl+C to kill this process, then I tried npm run android and it worked!
I also tried npm start afterwards, and it seems to work too.
edited Nov 15 at 16:48
Paul Roub
32.6k85773
32.6k85773
answered Nov 15 at 13:54
westlin
1
1
thx but I gave up and I'm using expo snack instead ^^'
– AnthonyDa
Nov 15 at 15:25
add a comment |
thx but I gave up and I'm using expo snack instead ^^'
– AnthonyDa
Nov 15 at 15:25
thx but I gave up and I'm using expo snack instead ^^'
– AnthonyDa
Nov 15 at 15:25
thx but I gave up and I'm using expo snack instead ^^'
– AnthonyDa
Nov 15 at 15:25
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53315048%2freact-native-expo-init-command-failed%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Seems to be a network issue. Can you give a try once more!
– varit05
Nov 15 at 13:57