Couldn't find preset "airbnb"
See original GitHub issueI don’t use babel-preset-airbnb
in my current project.
Seem your dependencies deline
required airbnb
preset.
Hum…
I got this error.
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:
- Created 7 years ago
- Reactions:2
- Comments:26 (1 by maintainers)
Top 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 >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 FreeTop 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
Top GitHub Comments
The root cause is that the RNP incorrectly transpiles code inside node_modules, by design.
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!