Node Error - Using a domain property in MakeCallback is deprecated

The deprecation warning is happening due to a use of the deprecated domain module.

I don't see that your code is using it directly and so, I'm pretty sure one of the packages that you require is using it. First, I would go through your own code to ensure you are not using it and if not then make sure all of your dependencies are up to date.

If that still doesn't fix, then you need to figure out where the warning is coming from and the best way to do that would be to step through your code in a debugger and see what the stack trace is when this warning is emitted.


An easy way to find the source of that is to launch your app with the --trace-deprecation flag, which will print a stack trace pointing to the code that uses the deprecated module.