ERROR in Entry module not found Error Can t resolve

ERROR in Entry module not found: Error: Can’t resolve ‘./src’ in ‘F:\demo\webpack’

The problem could occur in two situations,
1. No SRC directory was created in the root of the project
2. Check if webpack.config.js is in the root directory
My reason is that I put Webpack.config. js under SRC

Read More: