I cannot configure my package.js file for ReactJS

This is the error:

Insufficient number of arguments or no entry found. Alternatively, run
‘webpack(-cli) –help’ for usage info.

And this is the code in my package.json file:

  "name": "reactredux",
  "version": "1.0.0",
  "description": "React",
  "main": "index.js",
  "scripts": {
   "start": "npm run build",
    "build": "webpack -d && copy src/index.html dist/index.html && webpack-dev-server --content-base src/ --inline --hot",
    "build:prod": "webpack -p && copy src/index.html dist/index.html"
  "keywords": [
  "author": "NikolaMilicevic",
  "license": "MIT",
  "dependencies": {
    "babel-loader": "^8.0.6",
    "babel-preset-es2015": "^6.24.1",
    "babel-preset-react": "^6.24.1",
    "babel-preset-stage-2": "^6.24.1",
    "react": "^16.12.0",
    "react-dom": "^16.12.0",
    "webpack": "^4.41.6",
    "webpack-dev-server": "^3.10.3"
  "devDependencies": {
    "webpack-cli": "^3.3.11"

Leave a Reply

Your email address will not be published. Required fields are marked *