Personally, I have a problem when running meteor ...
The app work perfectly but console show me exception
(node) sys is deprecated. Use util instead.
I have no idea of what might be ... need help ....
Personally, I have a problem when running meteor ...
The app work perfectly but console show me exception
(node) sys is deprecated. Use util instead.
I have no idea of what might be ... need help ....
Probably one or more of your packages is using require('sys')
(which has been deprecated in Node 4.0.0), in this case you have to check which one are using it and update them.
If you find that you are using it in your own code, replace require('sys')
with require('util')
I have same problem.
Code or modules used sys. I find my project code includ "node_modules" as "sys." keyword.
I found it in "officegen" npm module. remove this module, error message go away.
One can fix this warning in their personal project. It's a manual process for fixing this issue in an individual project. Go to your node modules folder and 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 the following code suggests:-
var sys=require('sys'); // import 'sys' to 'util'
var sys=require('util');
means replace the code on LHS via code on RHS
© 2022 - 2024 — McMap. All rights reserved.