react-router-dom module is not installed code example
Example 1: npm react router dom
$ npm install --save react-router-dom
Example 2: Module not found: Can't resolve 'react-router-dom'
npm i react-router-dom --save
$ npm install --save react-router-dom
npm i react-router-dom --save