Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

353
Visualizações
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
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda