After running ncc (powered by webpack), the output would include new Buffer(), which is deprecated since Node v10. As a result, Wafter would print warning out as error when starting server.
MIRAI Wafter 1.15.0+local
Copyright (c) 2018-2019 Vườn ươm A0. MIT License.
√ How can I help you ? · Start server
(node:3944) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
Wafter needs to either install polyfill or try to replace new Buffer() after running ncc.
After running ncc (powered by webpack), the output would include
new Buffer(), which is deprecated since Node v10. As a result, Wafter would print warning out as error when starting server.Wafter needs to either install polyfill or try to replace
new Buffer()after running ncc.