Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

366
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!