Module not found: Can't resolve 'C:\Users\phoen\Desktop\codewithmosh\react\vidly\vidly-project\node_modules\babel-loader\lib\index.js' in 'C:\Users\phoen\Desktop\codewithmosh\react\vidly\vidly-project' code example
Example 1: Module not found: Can't resolve 'react'
npm install react
npm install react-dom
Example 2: 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.