[DEP0061] DeprecationWarning: fs.SyncWriteStream is deprecated.
- Dominant language
- JavaScript
- Stars
- 1.8k
- Forks
- 299
- PR merge metrics
- No merged PRs in 30d
Description
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: or the pic:

This problem also happend in hexo ,please see .
The `hexo-deployer-git 0.3.1` plugin has solved the problem.
Maybe this plugin should handle this too. Good luck!
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by running `hexo s --debug` with the listed Node.js and hexo-admin versions, then trace the plugin startup path that emits the `fs.SyncWriteStream` warning. Compare the fix in `hexo-deployer-git 0.3.1`; done means the deprecated API is no longer used and the warning no longer appears.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- tooling, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100