634 viewsMern Amazona

Hi teacher,

First of all, thanks for your course. Im having a error in your MERN AMAZONA REACT tutorial, i think it was something with the APIs, i dont know why in some you put in the .env …URI_ATLAS, but i cant do that becouse i dont have the other code(like localhost//amazona).

[apcode language=”vb”] this is the error that show my console. The page works till point Video42, when i try to implement Video43 it dont work.

react-dom.development.js:86 Warning: validateDOMNesting(...): <a> cannot appear as a descendant of <a>.
    at a
    at http://localhost:3000/static/js/bundle.js:16430:7
    at http://localhost:3000/static/js/bundle.js:29683:5
    at http://localhost:3000/static/js/bundle.js:28276:5
    at div
    at Dropdown (http://localhost:3000/static/js/bundle.js:16665:5)
    at http://localhost:3000/static/js/bundle.js:27942:70
    at http://localhost:3000/static/js/bundle.js:29588:5
    at a
    at LinkWithRef (http://localhost:3000/static/js/bundle.js:58927:7)
    at div
    at http://localhost:3000/static/js/bundle.js:17746:11
    at http://localhost:3000/static/js/bundle.js:29518:70
    at div
    at Transition (http://localhost:3000/static/js/bundle.js:61059:30)
    at http://localhost:3000/static/js/bundle.js:30648:5
    at http://localhost:3000/static/js/bundle.js:27759:5
    at http://localhost:3000/static/js/bundle.js:29886:5
    at div
    at http://localhost:3000/static/js/bundle.js:27845:5
    at nav
    at http://localhost:3000/static/js/bundle.js:29771:70
    at header
    at div
    at Router (http://localhost:3000/static/js/bundle.js:60636:15)
    at BrowserRouter (http://localhost:3000/static/js/bundle.js:58833:5)
    at App (http://localhost:3000/static/js/bundle.js:95:56)
    at PayPalScriptProvider (http://localhost:3000/static/js/bundle.js:8333:15)
    at r (http://localhost:3000/static/js/bundle.js:57273:21)
    at StoreProvider (http://localhost:3000/static/js/bundle.js:774:78)

[/apcode]

Thanks for your time

Bassir Answered question March 9, 2023

The error in the question is not about backend. is just about having wrong, jsx expression, and having ancher inside ancher.

for mongo DB issues. You need to share your code and terminal in backend, but what I can see from your error message you have used <a> inside another <a>

Bassir Answered question March 9, 2023