We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
node v8 发布之时,明确表示 fs.SyncWriteStream 这个 API 被标识为 deprecated。node#10467
node v8
fs.SyncWriteStream
deprecated
在 hexo 命令执行的时候,命令行会给出一个这样的警告:
hexo
(node:16132) [DEP0061] DeprecationWarning: fs.SyncWriteStream is deprecated.
为修复强迫症,需要对工具进行升级了。同时也顺便更新一下全局的 hexo-cli。
hexo-cli
然而,执行了 npm update 之后,貌似没什么效果。
npm update
一经翻阅之下,发现有一个叫做 hexo-fs 的项目调用了 fs.SyncWriteStream。有趣的是,实际上这个引用已经没有太大的意义了,因为后面没有使用到。
hexo-fs
然而,执行了 npm update hexo-fs --save 之后依然没有用。
npm update hexo-fs --save
那么,问题就只有一个了,还有其他插件用到了这个被废弃的 API。
是的,这个帖子里面有提到:hexo#2598
再更新这两个插件就可以解决报警告的问题了:
npm install hexo-deployer-git hexo-server --save
The text was updated successfully, but these errors were encountered:
No branches or pull requests
node v8
发布之时,明确表示fs.SyncWriteStream
这个 API 被标识为deprecated
。node#10467在
hexo
命令执行的时候,命令行会给出一个这样的警告:为修复强迫症,需要对工具进行升级了。同时也顺便更新一下全局的hexo-cli
。然而,执行了
npm update
之后,貌似没什么效果。一经翻阅之下,发现有一个叫做
hexo-fs
的项目调用了fs.SyncWriteStream
。有趣的是,实际上这个引用已经没有太大的意义了,因为后面没有使用到。然而,执行了
npm update hexo-fs --save
之后依然没有用。那么,问题就只有一个了,还有其他插件用到了这个被废弃的 API。
是的,这个帖子里面有提到:hexo#2598
再更新这两个插件就可以解决报警告的问题了:
The text was updated successfully, but these errors were encountered: