Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

287
Views
When build express-react app, it shows error

I currently working in a react - expressjs project which was worked by someone before. Currently, when I'm trying to run the command

npm run build

The project shows me the following error:

enter image description here

What can I do with that error?

As an additional information (I don't know if that is related), when I try to deploy any change I do in the project it doesn't take it into account due as I understand, the deploy depends on chunk.js files (created by the build). I mean, chunk.js files are not been updated. And in the configuretion of the deploy... the project specifies that I needs to point those chunk.js files

enter image description here

How can I change that configuration?

Here is my package.json file (the scripts section)

enter image description here

Thanks in advance

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

can you share your package.json Scripts ? there is a possibility you are missing the "build" Script

"scripts": {
    "start": "react-scripts start",
    "build": "react-scripts build",
    "test": "react-scripts test",
    "eject": "react-scripts eject"
  },

try to reinstall the dependencies again globally, check this link => reactgo.com/react-scripts-command-not-found and sh: react-scripts: command not found after running npm start

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!