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

338
Views
npm run for contact-server error message, why?

i'm stuck with a school project, where we have to create and connect a database, backend and frontend. I tried to start the server declared in package.json with "npm run contact-server" and this error message came (i deleted the first row because of personal informations):

10 silly lifecycle lb02@1.0.0~contact-server: Args: [ '/d /s /c', 'node server.js' ]
11 silly lifecycle lb02@1.0.0~contact-server: Returned: code: 1  signal: null
12 info lifecycle lb02@1.0.0~contact-server: Failed to exec contact-server script
13 verbose stack Error: lb02@1.0.0 contact-server: `node server.js`
13 verbose stack Exit status 1
13 verbose stack     at EventEmitter.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:332:16)
13 verbose stack     at EventEmitter.emit (events.js:375:28)
13 verbose stack     at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
13 verbose stack     at ChildProcess.emit (events.js:375:28)
13 verbose stack     at maybeClose (internal/child_process.js:1055:16)
13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
14 verbose pkgid lb02@1.0.0
15 verbose cwd C:\Users\miche\Desktop\Informatik LB02\LB\contact-server
16 verbose Windows_NT 10.0.19043
17 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "contact-server"
18 verbose node v14.17.3
19 verbose npm  v6.14.13
20 error code ELIFECYCLE
21 error errno 1
22 error lb02@1.0.0 contact-server: `node server.js`
22 error Exit status 1
23 error Failed at the lb02@1.0.0 contact-server script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]

anyone knows why this error shows up? I followed the tutorial from my teacher but I am not good at all with javascript and node. BTW the scripts we got were already made and we have to adjust the paths and codes. Thanks for helping..

Regards, Mogreal

about 4 years ago · Juan Pablo Isaza
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!