Skip to content

DeprecationWarning: sys is deprecated. Use util instead. #8

Open

Description

(node) sys is deprecated. Use util instead.

nodejs/node-v0.x-archive#3577

Activity

  1. ricardoee commented on Sep 19, 2019

    @ricardoee

    This appears to still be an issue?

    13:50:05 CRITICAL [app] (node:53916) [DEP0025] DeprecationWarning: sys is deprecated. Use util instead.

  2. mach666 commented on May 15, 2021

    @mach666

    One can fix this warning at their personal project. Its a manual process for fixing this issue in a individual project. Go to your node modules folder find the logger folder inside it. Inside the logger folder you will find a logger.js file. Open the logger.js file and do as following code suggests:-
    var sys=require('sys') -----------> var sys=require('util')
    means replace the code on LHS via code on RHS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions