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

184
Visualizações
Unable to use the npm run dev

used the npm run dev

concurrently "npm run server" "npm run client"

npm ERR! Missing script: servernpm npm ERR! npm ERR! Did you mean this? npm ERR! npm run server # run the "server" package script

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

Please make sure to add a script called "dev"

Example:

{
  "name": "My amazing app",
  "version": "x.x.x",
  "main": "foo/fooBar/fooBarz.js",
  "scripts": {
   "dev": "run ./app.js"
   // Other scripts...
  },
  "dependencies": {
    // Stuff..
  },
  "devDependencies": {
    // Stuff..
  },
  "private": true
}

And when you run npm run dev it will run run ./app.js or what ever command you give it, you can also run 2 commands at the same time by using the "&&" operator eg: command-one start && command-two start. This operator is just like the "&&" operator in javascript, for more in depth information about this topic why not visit the npmjs doc website I will have a link below to that article post.

LINK: https://docs.npmjs.com/cli/v8/using-npm/scripts

I hope this will help, Like I said if you have any questions just checkout the npm docs.

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