New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fs.SyncWriteStream is deprecated [Nodejs v8.0] #2598
Comments
Already removed in hexo-fs plugin. As this function is never called, the Hexo functions would not be affected. |
npm install hexo-fs --save |
@CTBUmyq what do you mean valid? Any error trace output? |
更新了hexo-fs插件,但是依旧报错 |
The hexo specified |
通过npm install hexo-fs --save解决不了的,是因为在hexo-deployer-git中还有一个node_modules/hexo-fs目录,但是hexo-deployer-git官方Github中是没有这个目录的,可能是因为npm源没有更新,所以hexo-deployer-git中有一个旧版本的hexo-fs,注释掉E:\github\blog\node_modules\hexo-deployer-git\node_modules\hexo-fs\lib\fs.js中第718行exports.SyncWriteStream = fs.SyncWriteStream;就行了,或者手动更新hexo-deployer-git。 |
@rangerzhou Good catch! Once we release a new version of hexo-deployer-git, you can solve this via @NoahDragon I've updated the hexo-deployer-git and hexo-deployer-heroku to use hexo-fs 0.2.x, could you publish these packages? Thank you. |
@JLHwung Got it, will publish them to NPM later today. |
@NoahDragon Thank you very much. |
FYI, the following packages may contain the old version of Hexo-fs have been updated. hexo-deployer-git 0.3.1 |
I have also met this warning message. But |
nodejs v8.0 fs: runtime deprecation for fs.SyncWriteStream.
I put the nodejs update to v8.0, then hexo at least some functions can not be run.
Can this be solved?
supplement
The text was updated successfully, but these errors were encountered: