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

400
Visualizações
Getting Error while Updating Docx Js from v5.5.0 to v7.3.0

My app is working fine using docx v5.5.0 but as soon as I am updating the version to v7.3.0 I am getting the following error when I try to download the output docx file:

Unhandled rejection TypeError: Cannot read properties of undefined (reading 'creator')
    at new Yo (C:\Projects\demo\node_modules\docx\build\index.js:2:291617)
    at DocumentCreator.create (C:\Projects\demo\queries.js:4695:22)
    at C:\Projects\demo\queries.js:4806:33
    at tryCatcher (C:\Projects\demo\node_modules\bluebird\js\release\util.js:16:23)

To update the docx.js version I have deleted my node_modules folder and then in package.json changed the version of docx.js from 5.5.0 to 7.3.0. And then I ran npm i command.

I tried checking for any Github issues related to the same but couldn't find anything.

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