jaredly / hexo-admin

An Admin Interface for Hexo
http://jaredly.github.io/hexo-admin/
1.76k stars 299 forks source link

[DEP0061] DeprecationWarning: fs.SyncWriteStream is deprecated. #195

Open yansheng836 opened 4 years ago

yansheng836 commented 4 years ago

My version:

node:v10.16.0
hexo:3.9.0
hexo-admin:2.3.0

When I run:hexo s --debug, it will show one warning:

02:34:10.940 DEBUG Plugin loaded: hexo-admin
(node:9248) [DEP0061] DeprecationWarning: fs.SyncWriteStream is deprecated.

And from the node.js v8 API:http://nodejs.cn/api/deprecations.html#deprecations_dep0061_fs_syncwritestream or the pic: image

This problem also happend in hexo ,please see https://github.com/hexojs/hexo/issues/2598. The hexo-deployer-git 0.3.1 plugin has solved the problem.

Maybe this plugin should handle this too. Good luck!