DEV Community

Discussion on: Deploying a React app with React-Router and an Express Backend

Collapse
 
mosesa0609 profile image
Alonzo Moses

I'm getting this error when I try to start the react app:

Failed to compile
./src/index.js
Module not found: Can't resolve 'react-router-dom' in 'C:\Users...'

I followed the tutorial. Am I missing something?

Collapse
 
mmilmore profile image
m-milmore

in client folder do npm install react-router-dom. It wasn't mentioned in the tutorial