r/reactjs • u/timmonsjg • Dec 03 '18
Needs Help Beginner's Thread / Easy Questions (December 2018)
Happy December! βοΈ
New month means a new thread π - November and October here.
Got questions about React or anything else in its ecosystem? Stuck making progress on your app? Ask away! Weβre a friendly bunch. No question is too simple. π€
π Want Help with your Code? π
- Improve your chances by putting a minimal example to either JSFiddle or Code Sandbox. Describe what you want it to do, and things you've tried. Don't just post big blocks of code!
- Pay it forward! Answer questions even if there is already an answer - multiple perspectives can be very helpful to beginners. Also there's no quicker way to learn than being wrong on the Internet.
Have a question regarding code / repository organization?
It's most likely answered within this tweet.
New to React?
π Here are great, free resources! π
38
Upvotes
View all comments
1
u/[deleted] Dec 20 '18 edited Dec 20 '18
I am getting this warning in the terminal:
eslint-config-react-app@3.0.5 requires a peer ofbabel-eslint@9.xbut none is installed. You must install peer dependencies yourself.I have babel-eslint@10.0.1 installed instead, does this mean that eslint-config-react-app is not compatible with the version of babel-eslint I have installed? Should I downgrade babel-eslint? Or should I just drop eslint-config-react-app and use some other eslint configuration?
Also, I am getting this warning:
ts-pnp@1.0.0 requires a peer of typescript@* but none is installed. You must install peer dependencies yourself.But I don't have any references to ts-pnp in my package.json file (not using TS at all) and I've tried uninstalling ts-pnp but I keep getting this same warning in the terminal. The only place I see it is in my node-modules folder but that's it. Should I manually delete it from there?