windows - Firebase 登录断言失败:new_time >= loop->time,文件 c:\ws\deps\uv\src\win\core.c,第 309 行
问题描述
我有一台新的 Surface Laptop 3。我通常使用 MAC,但需要 windows 来做一些事情。我一直在使用并行,但决定硬着头皮买真正的 Windows 机器。
我使用 firebase 并安装了 firebase-tools 并运行良好。但是当我尝试登录时(使用firebase login
CLI,我不断收到如上所示的错误消息:Assertion failed: new_time >= loop->time, file c:\ws\deps\uv\src\win\core.c, line 309
。我使用 bash 和 powershell 的结果相同。我还以管理员身份登录了 cmd 提示符。
我已经搜索和搜索并找到了一些与时钟相关的东西并检查了它。我还运行了一些文件系统检查等。但没有任何效果。在我的 Windows 10 环境中,这一切都可以在我的 MAC 上运行,但这款新笔记本电脑无法处理。
有人可以指出我正确的方向吗?
解决方案
Looks like its an Ice Lake, Nodejs conflict of some sort. I was having this problem for months with my new HP spectre x360.
Seems it's been patched a few days ago in node: https://github.com/firebase/firebase-tools/issues/1772
I just updated my node install to 12.18.0 (I was on 12.16.1) and I'm no longer getting the error when I attempt firebase cli commands. Hopefully a node update will work for you as well: https://nodejs.org/en/download/