node.js - 什么是 ".v8flags.3.14.5.9.{Name}"?

标签 node.js

我正在全新安装 Windows 10 Professional (x64),并注意到我的主目录的根目录中出现了一些特殊文件,特别是我看到...

.v8flags.3.14.5.9.Ciel

Ciel 显然是我的用户名;我试图在这个文件上进行搜索,但发现很少 - 我能说的最好的是它与 nodejs 相关,这可能是有道理的,因为我有 Visual Studio 2015已安装。

其他人可以识别这个文件是什么,我是否需要保留它?

最佳答案

您可以放心地删除它。

nodejs 模块 v8flags 使用该文件进行缓存。如果您删除它,它将在下次运行时创建一个新的。

我猜它的创建是因为 Gulp 依赖于 v8flags 并且:

The ASP.NET 5 templates included in Visual Studio 2015 use Gulp, and they install Gulp into your project’s node_components folder so it’s all ready for you to use in your project.

https://msdn.microsoft.com/en-us/magazine/mt595751.aspx

更新:文件的新名称是 .v8flags.{version}.{md5-hash-of-username}.json

关于node.js - 什么是 ".v8flags.3.14.5.9.{Name}"?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34612415/

相关文章:

node.js - 未找到 Gulp 命令

macos - Socket.io:如何处理关闭连接?

javascript - 在 Node API 混淆中使用 knex.js 编写插入语句

node.js - express + MongoDB

javascript - 将音频从浏览器流式传输到具有特定 MIME 类型的 Node.js 服务器

node.js - Mongoose 不更新嵌入式文档

javascript - 将附加参数传递给路由(expressjs)

node.js - 本地安装 NodeJS 包

node.js - Angular 6 和 Vagrant 问题

node.js - 使用 Angular cli 创建 Angular 项目时出现问题