-2

While working on my react project, I just tried to install react-router-dom and somehow it seems it erased all my scripts and modules. Now I cannot run the server again no matter what I do. I also cleaned working directories and even deleted the branch, but it still doesn't work at all.. enter image description here

and below is the error message when I hit 'npm start'.

enter image description here

Jay Jeong
  • 892
  • 2
  • 11
  • 24

1 Answers1

0

Although I don't know why installing react-router-dom removed all my packages, I reinstalled node modules and now it works again. :)

Jay Jeong
  • 892
  • 2
  • 11
  • 24