title: How to fix Insufficient number of arguments or no entry found. Alternatively, run 'webpack(-cli) --help' for usage info
body: <p>I am getting the error <code>Insufficient number of arguments or no entry found.
  Alternatively, run 'webpack(-cli) --help' for usage info.</code> when I run the command <code>npm run dev</code> I also receive an error under this one that says <code>ERROR in Entry module not found: Error: Can't resolve</code> followed by a path. I am not too sure why it can't find an entry point any help would be greatly appreciated.</p>
  
  <p>uploaded the whole project to github to help with visibilty.
  <a href="https://github.com/dustinm94/coding-challenge" rel="noreferrer">https://github.com/dustinm94/coding-challenge</a></p>
  
  <p>webpack.config.js</p>
  
  <pre><code>  module: {
      rules: [
        {
          test: /\.js$/,
          exclude: /node_modules/,
          use: {
            loader: "babel-loader"
          }
        }
      ]
    }
  }
  </code></pre>
  
  <p>package.json</p>
  
  <pre><code>{
    "name": "coding_challenge",
    "version": "1.0.0",
    "description": "",
    "main": "index.js",
    "scripts": {
      "dev": "webpack --mode development --watch ./coding/frontend/src/index.js --output ./coding/frontend/static/frontend/main.js",
      "build": "webpack --mode production ./coding/frontend/src/index.js --output ./coding/frontend/static/frontend/main.js"
    },
    "keywords": [],
    "author": "",
    "license": "ISC",
    "devDependencies": {
      "@babel/core": "^7.4.0",
      "@babel/preset-env": "^7.4.2",
      "@babel/preset-react": "^7.0.0",
      "babel-loader": "^8.0.5",
      "babel-plugin-transform-class-properties": "^6.24.1",
      "webpack": "^4.29.6",
      "webpack-cli": "^3.3.0"
    },
    "dependencies": {
      "babel-preset-react": "^6.24.1",
      "prop-types": "^15.7.2",
      "react": "^16.8.6",
      "react-dom": "^16.8.6"
    }
  }
  </code></pre>
  
  <p>.babelrc</p>
  
  <pre><code>{
    "presets": ["@babel/preset-env", "@babel/preset-react"],
    "plugins": ["transform-class-properties"]
  }
  </code></pre>