DeprecationWarning: Calling an asynchronous function without callback is deprecated, where to find it?

1.9k views Asked by At

So i keep getting this error which redirects me to node_modules and I'm not sure if I would check there.. Everything was fine until node.js version update yesterday.

The error with trace:

node --trace-deprecation tradeBot.js
        (node:10062) DeprecationWarning: Calling an asynchronous function without callback is deprecated.
        at maybeCallback (fs.js:95:42)
    at Object.fs.writeFile (fs.js:1191:14)
    at FileStorage.saveFile.FileStorage.writeFile (/****/node_modules/file-manager/index.js:68:5)
    at SteamUser._handlers.(anonymous function) (/****/node_modules/steam-user/components/logon.js:252:18)
    at SteamUser._handleMessage (/****/node_modules/steam-user/components/messages.js:200:29)
    at emitThree (events.js:116:13)
    at CMClient.emit (events.js:194:7)
    at CMClient._netMsgReceived (/****/node_modules/steam-client/lib/cm_client.js:278:8)
    at CMClient.handlers.(anonymous function) (/****/node_modules/steam-client/lib/cm_client.js:386:8)
    at CMClient._netMsgReceived (/****/node_modules/steam-client/lib/cm_client.js:260:24)
    at emitOne (events.js:96:13)
    at TCPConnection.emit (events.js:188:7)
    at TCPConnection._readPacket (/****/node_modules/steam-client/lib/tcp_connection.js:73:7)
    at emitNone (events.js:86:13)
    at TCPConnection.emit (events.js:185:7)
    at emitReadable_ (_stream_readable.js:432:10)
0

There are 0 answers