Home > Software design >  Getting 'react-router-dom' error in all the files
Getting 'react-router-dom' error in all the files

Time:12-17

ERROR in ./src/components/Button.jsx 6:0-40

Module not found: Error: Can't resolve 'react-router-dom' in 'D:\Agarwal_T\agarwal_traders\src\components'

Can someone please help me.

CodePudding user response:

You can try running npm i react-router react-router-dom --save

  • Related