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

367
Visualizações
what changes i need to do to make my code in newer node version?

I have a js code which is working in node version 6. Now I want to upgrade the node version to 10 and trying to make sure that code should work in node 10. I have upgraded node modules using npm update. I am getting some node fiber errors. Attached the screenshot for your reference.

This is the error message after upgrading to node 10 and node modules.

This is my package.json

{
  "name": "DocumentConversion-schedular",
  "version": "1.0.0",
  "description": "this is the schedular for the compucom project",
  "main": "app.js",
  "scripts": {
    "start": "node App",
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "author": "Vivek Kumar",
  "license": "ISC",
  "dependencies": {
    "async": "^2.2.0",
    "aws-sdk": "^2.32.0",
    "csvtojson": "^1.1.4",
    "extract-zip": "^1.6.0",
    "filecopy": "^3.0.1",
    "fs": "0.0.1-security",
    "fs-promise": "^2.0.1",
    "fs-readfile-promise": "latest",
    "html2json": "latest",
    "jsonfile": "latest",
    "mammoth": "latest",
    "mkdirp": "latest",
    "node-cron": "^1.1.3",
    "nodemailer": "^3.1.8",
    "path": "^0.12.7",
    "pdf-text": "latest",
    "pdf-to-text": "latest",
    "pdfreader": "latest",
    "properties-reader": "latest",
    "request": "^2.81.0",
    "stream": "0.0.2",
    "sync": "latest",
    "unzip": "^0.1.11",
    "winston": "^2.3.1",
    "xml-js": "latest",
    "xml-to-json": "latest"
  }
}
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