Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

368
Vistas
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 la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda