React router compiling problem

hello, I was doing a project on vs code online lab and after installing all my dependencies and the app was compiling, I installed the react router dom to be able to do a navbar with links then the app throwed many errors and couldn’t compile. would you please help me fix that?

sure, do you want to share the project?

Else join here, I am not doing much, I can have a look with you

What I would do, I would remove node_modules and do a npm install or yarn install to build fresh packages

If you have it in github, share the link and I will be happy to see what is going wrong, locally.

I removed the node modules and it worked… thanks a lot for your help

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.