P
P
prolina2019-06-29 15:51:50
npm
prolina, 2019-06-29 15:51:50

npm run build react setup?

There is the following project structure:
5d175e120183f694007763.png
5d175e2d778a8411876733.png
With the npm run build command - an error
The command is launched in the root of the project (folder react flt.by), in the same folder the following package.json

{
  "name": "FLT",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "start": "node index.js",
    "server": "nodemon server.js",
    "client": "cd client && npm run start",
    "dev": "concurrently --kill-others-on-fail \"npm run server\" \"npm run client\"",
    "main_sectionku-postbuild": "cd client && npm install && npm install --only=dev --no-shrinkwrap && npm run build"
  },
  "keywords": [],
  "author": "",
  "license": "ISC",
  "dependencies": {
    "aos": "^2.3.4",
    "body-parser": "^1.19.0",
    "concurrently": "^4.1.0",
    "express": "^4.17.1",
    "nodemailer": "^6.2.1",
    "nodemon": "^1.19.1",
    "react-addons-css-transition-group": "^15.6.2",
    "react-loading-skeleton": "^1.1.2",
    "react-skroll": "^0.7.2",
    "react-transition-group": "^4.1.0"
  }
}

How to build a project?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Spirin, 2019-06-29
@rockon404

Do you see the build script in the list of scripts? Me neither.
Ask the one who wrote it and did not finish it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question