Using webpack and ESLint, can't deploy

I need advice to debug deploy https://app.netlify.com/sites/admiring-hodgkin-6c8b1d/deploys/5e3f2c45f5c5430008b51b26

I can build this program without any linting errors locally, but every deploy attempt results in an error. I’m not sure why it can’t build here and I’d love some help figuring it out.

These are the relevant bits in the deploy log:

1:47:21 PM: No ESLint configuration found in /opt/build/repo/src.
1:47:21 PM: ERROR in ./src/main.js
1:47:21 PM: Module build failed (from ./node_modules/eslint-loader/dist/cjs.js):
1:47:21 PM: TypeError: Cannot read property 'forEach' of undefined
1:47:21 PM:     at Linter.parseResults (/opt/build/repo/node_modules/eslint-loader/dist/Linter.js:121:13)
1:47:21 PM:     at Linter.printOutput (/opt/build/repo/node_modules/eslint-loader/dist/Linter.js:85:26)
1:47:21 PM:     at Object.loader (/opt/build/repo/node_modules/eslint-loader/dist/index.js:26:10)
1:47:21 PM: Child html-webpack-plugin for "index.html":
1:47:21 PM:      1 asset
1:47:21 PM:     Entrypoint undefined = index.html
1:47:21 PM:     [./node_modules/html-webpack-plugin/lib/loader.js!./src/index.html] 8.45 KiB {0} [built]
1:47:21 PM:     [./node_modules/webpack/buildin/global.js] (webpack)/buildin/global.js 472 bytes {0} [built]
1:47:21 PM:     [./node_modules/webpack/buildin/module.js] (webpack)/buildin/module.js 497 bytes {0} [built]

Additional information: this is my first time using webpack and eslint on a project, and it appears that may be part the issue. However, other students in my class were able to successfully deploy using the same environment. I would love to be able to solve this problem.

Here’s my package.json:

{
  "name": "node-boilerplate",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "build": "webpack --mode development",
    "start": "npm run build; webpack-dev-server --open --mode development",
    "lint": "eslint src/*.js",
    "test": "jest",
    "debug": "node --inspect node_modules/.bin/jest --runInBand"
  },
  "keywords": [],
  "author": "",
  "license": "ISC",
  "devDependencies": {
    "@babel/core": "^7.6.4",
    "@babel/plugin-transform-modules-commonjs": "^7.6.0",
    "clean-webpack-plugin": "^3.0.0",
    "css-loader": "^3.2.0",
    "eslint": "^6.3.0",
    "eslint-loader": "^3.0.0",
    "html-webpack-plugin": "^3.2.0",
    "jest": "^24.9.0",
    "style-loader": "^1.0.0",
    "uglifyjs-webpack-plugin": "^2.2.0",
    "webpack": "4.39.3",
    "webpack-cli": "^3.3.8",
    "webpack-dev-server": "^3.8.0"
  },
  "dependencies": {
    "bootstrap": "^4.4.1",
    "jquery": "^3.4.1",
    "popper.js": "^1.16.1"
  }

and here are the modules on my webpack:

  module: {
    rules: [
      {
        test: /\.css$/,
        use: [
          'style-loader',
          'css-loader'
        ]
      },
      {
        test: /\.js$/,
        exclude: /node_modules/,
        loader: "eslint-loader"
      }
    ]
  }

Any insight into what might be going wrong would be appreciated!

hmm, sounds pretty frustrating! Could you share the link to your github repo, please?