How to launch my app on vercel even though it is successful in local create react app

70 Views Asked by At

Fail to launch host on vercel, even though it was successful in local create react app

There are too many codes! Here is the link to the github repo, feel free to clone it to give it a look

https://github.com/dunyanong/Kopitiam-News

Errors in my console

Error handling response: TypeError: Cannot read properties of null (reading '1')x

main.78df1ac9.js:2          GET https://newsapi.org/v2/top-headlines?country=in&apiKey=a1ec1c47dff64cc1a11743631374ff5e&page=1 426


react_devtools_backend.js:4026 TypeError: Cannot read properties of undefined (reading 'map')

main.78df1ac9.js:2 Uncaught TypeError: Cannot read properties of undefined (reading 'map')


Uncaught (in promise) Error: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received

0

There are 0 best solutions below