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

105
Visualizações
nx generate unable to create app/library from scratch

After some months of work, I faced that I cannot create an app or library anymore using the "nx g" command. I used nx version 13.x, but upgrading to 14.x didn't help. F.e.

nx g lib data-access-whatever
ENOENT: No such file or directory, scandir ''C:\dev\someproject\packages\data-access-whatever''

So, I have two questions:

  1. why it requires to have library directory (because I believe it should create it automatically)
  2. why directory name is "packages", when it should be "libs"?

UPDATE #1: Q2 resolved by removing this line from nx.json file:

"extends": "@nrwl/workspace/presets/npm.json"
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