failed to compile ./src/app.js module not found can't resolve code example
Example: module not found: can't resolve 'react' in 'c:\users\pavlos\desktop\reactjs\hwr\reactproject2\src'
type: npm install react
next command type : npm install react-dom
that's the solution.