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

167
Visualizações
How can I change the write location in SheetJS?

I'm using SheetJS to create excel workbooks in node.js, and I could not find anywhere in the documentation how to change the default location for saving the files. No problems with creating the excel file, successfully able to create the file in the root folder of my app.

What I tried:

excel.writeFile(workbook,"some/file/path"+SheetName)

The error message I get says the directory does not exist. This makes sense, as I intend to save the excel file in a newly created folder based on some variables. I cannot use predetermined folders.

Does anyone know how you can change the file path for the created workbook or programmatically create the folder(s) I need to make the above code work?

Thanks All,

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