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.

Couldn't find preset "airbnb"

See original GitHub issue

I don’t use babel-preset-airbnb in my current project.

Seem your dependencies deline required airbnb preset. Hum… I got this error. screen shot 2017-03-16 at 12 00 12 pm

I don’t know where should i raise issue (this one or deline one)?

I resolve this issue by:

  • yarn add --dev babel-preset-airbnb (or npm install --save-dev babel-preset-airbnb)
  • add airbnb to presets array in .babelrc

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:2
  • Comments:26 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
ljharbcommented, Nov 28, 2018

The root cause is that the RNP incorrectly transpiles code inside node_modules, by design.

1reaction
richardzyxcommented, Nov 28, 2018

Actually, I was able to fix this issue by simply removing the .babelrc file from deline. I was removing babelrc from redux-pack but deline is the broken dependency that couldn’t run on RN.

Resolved!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Couldn't find preset "airbnb" relative to directory - Stack Overflow
but it still gives me the same error. The .babelrc file is on the same level as the package.json file. I've searched everywhere...
Read more >
Error: Couldn't find preset "airbnb" relative to directory #435
Hi @wzup, can you check your node_modules folder for babel-preset-airbnb ? It seems like your npm install did not complete for some reason....
Read more >
[Solved]-Couldn't find preset "airbnb" relative to directory-Reactjs
Coding example for the question Couldn't find preset "airbnb" relative to directory-Reactjs. ... npm install --save-dev babel-preset-airbnb.
Read more >
eslint-config-airbnb-typescript - npm
Make sure you have the regular Airbnb config setup. If you are using React, use eslint-config-airbnb, or if you aren't using React, ...
Read more >
eslint/eslint - Gitter
0. ESLint couldn't find the config "airbnb-base" to extend from. Please check that the name of the config is correct.
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