Unable to create my first react native app
See original GitHub issueDescription
Unable to create my first react native app
Expected Behavior
I have copied command from the getting-started page and run it.
Observed Behavior
yarn install v0.23.3
[1/4] Resolving packages...
[2/4] Fetching packages...
error An unexpected error occurred: "https://registry.yarnpkg.com/react-native-web-maps/-/react-native-web-maps-0.1.0.tgz: Invalid tar header. Maybe the tar is corrupted or it needs to be gunzipped?".
info If you think this is a bug, please open a bug report with the information provided in "D:\\react-native\\my-app1\\yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Failed to install
Environment
PS D:\react-native> npm ls react-native-scripts
D:\react-native
`-- (empty)
PS D:\react-native> npm ls react-native-scripts
D:\react-native
`-- (empty)
PS D:\react-native> npm ls react-native
D:\react-native
`-- (empty)
PS D:\react-native> npm ls expo
D:\react-native
`-- (empty)
PS D:\react-native> node -v
v9.2.0
PS D:\react-native> npm -v
5.5.1
PS D:\react-native> yarn --version
0.23.3
PS D:\react-native> watchman version
watchman : The term 'watchman' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ watchman version
+ ~~~~~~~~
+ CategoryInfo : ObjectNotFound: (watchman:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
- Operating system: Windows 10 Pro x64 OS build: 17134.48
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Not able to create new app using the "create-react-native-app"
To find the correct version of react-native-scripts, first find out the version of create-react-native-app using the command: create-react-native-app -- ...
Read more >Setting up the development environment - React Native
Run the following command to create a new React Native project called "AwesomeProject": npm; Yarn. npx create-expo-app AwesomeProject
Read more >Unable to create my first react native app · Issue #665 - GitHub
Description Unable to create my first react native app Expected Behavior I have copied command from the getting-started page and run it.
Read more >React Native Tutorial: Create Your First App - Shahed Nasser
In this tutorial, you'll learn the basics of creating a React Native app with Expo.
Read more >5 Most Common React Native Issues That Starters Face
As you create your application and run it, you may face an issue stating, “Your App is not registered.” The reason for this...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@brentvatne Yes, reinstallation of Yarn worked for me.
npm install -g yarn
worked for me, installed yarn@1.7.0