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

618
Visualizações
Problem with installation of nestjs sh: 1: nest: not found

I am facing the error by

npx @nestjs/cli rest_of_command_here

I have also tried to install using -g flag, -g --save-dev flag together but nothing seems to be clicking

sh: 1: nest: not found

I have tried the answer nest Command not found but it does not work as I face a new issue which says

bash: /usr/local/Cellar/node/11.9.0/bin/nest: No such file or directory

node version 16.13.2

npm version 8.1.2

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

0

The problem is that npm/yarn does not install devDependencies if NODE_ENV variable set to production

I solved this problem by removing NODE_ENV from app configuration, and added NODE_ENV=production before running specific build script.

about 4 years ago · Juan Pablo Isaza Relatório

0

Turns out the alias was not working properly and had to set it like this

alias nest="~/.npm/_npx/ccf722f030a36e55/node_modules/@nestjs/cli/bin/nest.js"
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