2021年1月20日星期三

Uncaught (in promise) TypeError: Cannot read property 'json' of undefined

I am taking a javascript course where I have reached the end, and when making a promise, I use the 'fetch' as I have used it in all the code with their respective .then (), but in the latter it throws me this error . I do not know why it can be, I have followed everything to the letter, basically it is an application where orders are entered and they are displayed on the right side of the page, and at this point in the code I am saving the user. I atach pictures below.

ERROR in chrome console

Error in arrow

https://stackoverflow.com/questions/65820212/uncaught-in-promise-typeerror-cannot-read-property-json-of-undefined January 21, 2021 at 10:02AM

没有评论:

发表评论