Webpack 4 : ERROR in Entry module not found: Error: Can’t resolve ‘./src’

Resolved

Spent a lot of time to find out the solution.

Solution: Add index.js file into src folder.

That’s it!.. solved 🙂

During Research, I found some facts about webpack 4 :

webpack 4 doesn’t need a configuration file by default!

webpack 4 there is no need to define the entry point: it will take ./src/index.js as the default!

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)