question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

create new app i am getting this error

See original GitHub issue

React Native version:

Steps To Reproduce

Describe what you expected to happen:

Snack, code example, or link to a repository:

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
ecreethcommented, Jul 15, 2019

@keshav00001 #25478 solves this problem.

Add .prettierrc file with:

{
 bracketSpacing: false,
 jsxBracketSameLine: true,
 singleQuote: true,
 trailingComma: 'all',
}
2reactions
RobinCslcommented, Jul 14, 2019

Hi @keshav00001, From the little information you shared about your issue, I understand that you’re unhappy that VSCode and ESLint give you warnings/errors regarding the starter code when it comes to running yarn lint.

I believe you have

"@react-native-community/eslint-config": "^0.0.5",

in your devDependencies.

If you revert to version 0.0.4, install your node_modules again, the errors should disappear.

Steps I used to reproduce

npx react-native-cli init MyCoolApp
cd MyCoolApp
yarn lint

Same linting errors were displayed.

“Fix”

yarn add -D @react-native-community/eslint-config@^0.0.4
yarn lint

No errors.


It might be useful to inquire what changed between version 0.0.4 and version 0.0.5 of @react-native-community/eslint-config.

Read more comments on GitHub >

github_iconTop Results From Across the Web

reactjs - Error while creating new React app ("You are running ...
Solution 3: Run this command · npm uninstall -g create-react-app · npm cache clean --force · npm cache verify · npx create-react-app my-app....
Read more >
App record creation error at valid… | Apple Developer Forums
Hi,. I developed an app and trying to publish but at the validation state i'm getting two errors. The errors as follows: (1)...
Read more >
Re: Error creating app from data - Power Platform Community
The error message shows you have one same name app.And could you please try to clear cookies and cache or your currently browser...
Read more >
Unable to create App ID - Something went wrong!
Hi there,. I'm just trying to set up a basic App ID to integrate our website with Facebook and I keep getting the...
Read more >
Error creating new app with "create-react-native-app" #229
Description I tried to create a new react native app using the command "create-react-native-app" I'm using window 8.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found