My meteor application running fine in local environment with node version 12,
But after deploy the app to galaxy it shows this error,
(node:8) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
Memory usage: rss: 355 Mb, heapTotal: 302 Mb, heapUsed: 291 Mb, external: 25 Mb,
i can login to the application but couldn’t run some functionalities like sync.
@illustreets i have installed reactive-aggregate package and implemented my all publications with this package, and now i reverted this change and deployed to server, now the error is gone and the app is working fine. is this error caused by this package ?
By it, or by one of its dependencies, if the problem stopped once you uninstalled it. You can only find out by looking in its source code, in case it’s available.
Just like I said in the reply you quote: if your Meteor hasn’t been updated you would be using an older version of Node. Galaxy uses the latest one, hence why you get the warning there but not locally.
@illustreets I am using meteor version 1.10.1 and node 12.16.1 on my local system. i found one function ‘new Buffer’ in my code hope this is the reason for the issue. Thank you.