Failed to compile. Module not found: Can’t resolve ‘react-router-dom’

I was facing the same issue. The following command will resolve it:

npm install react-router-dom --save

Leave a Comment

error code: 523