This solves the error I have when running a new and clean project:
ERROR Failed to compile with 1 errors
Module build failed (from ./node_modules/eslint-loader/index.js):
TypeError: Cannot read property 'eslint' of undefined
at Object.module.exports (/home/user/myproject/node_modules/eslint-loader/index.js:148:18)
You may use special comments to disable some warnings.
Use // eslint-disable-next-line to ignore the next line.
Use /* eslint-disable */ to ignore all warnings in a file.
READY Listening on http://localhost:3000
This solves the error I have when running a new and clean project: