Closed BabbarRaghav closed 2 years ago
This problem is encountered may be due to ease in using a non-strict mode
You should add "use strict";
at the top of your react app and find what actually the error is
This may be because you exhausted your api requests for the day. Check your requests left for the day in news API.
If you want to continue your work you can use your brother's or any other family members details to get a new API key, and just replace the API key. It worked for me.
Type Error: Cannot read property'map' of undefined at localhost :3000 please Bhaiya resolved this
Type Error: Cannot read property'map' of undefined at localhost :3000
https://stackoverflow.com/questions/24706267/error-cannot-read-property-map-of-undefined I think this might solve your problems
@Shivam2001-programmer The news API only works at your localhost.
mere code me ek problem aa rahi hai... Agar me apna code localhost me run karu to sahi chal raha hai but agar me apna code "on your network" wale link se karu to error aa raha hai:- TypeError: Cannot read property 'map' of undefined Me purani video dubara dekhi sari check karne ke liye me kya galti ker raha hu per kuch nahi mil raha Please harry bhai ya or koi help kerdo.![image](https://user-images.githubusercontent.com/89309326/131253963-92c681d4-67ec-4c21-8c34-ed05de7ef0d6.png)