question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Firebase Tools broken on Intel Ice Lake (Assertion failed: new_time >= loop->time)

See original GitHub issue

Environment info

7.6.2

Platform: Windows 10 Home 1903 Build 18362.356 Processor: i7-1065G7 Node Version: 10.16.3 LTS / 12.13.0 LTS

Test case

Problem only affects Intel Ice Lake processors on Windows. No setup needed.

Steps to reproduce

Run any command. Example: firebase login

Expected behavior

The command should work.

Actual behavior

Before any user input can be entered, firebase cli crashes.

PS C:\Users\simon\Documents\GitHub\reado-fe> firebase login
i  Firebase optionally collects CLI usage and error reporting information to help improve our products. Data is collected in accordance with Google's privacy 
policy (https://policies.google.com/privacy) and is not used to identify you.

? Allow Firebase to collect CLI usage and error reporting information? (Y/n) Assertion failed: new_time >= loop->time, file c:\ws\deps\uv\src\win\core.c, line 309

See also

https://github.com/libuv/libuv/issues/1633

Problem reported on Sept 13th. No acknowledgement from the libuv team yet.

Similar projects affected: Heroku https://github.com/heroku/cli/issues/1354 Github Actions virtual environments https://github.com/actions/virtual-environments/issues/67

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:14 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
amohsengcommented, Jun 3, 2020

I had this exact problem also, it was fixed as follows: 1- Uninstall Nodejs (latest version today 14.4.0 Current) 2- Install the stable recommended version (12.18.0 LTS) 3- reinstall firebase-tools again (npm install -g firebase-tools)

I don’t understand neither the root cause of the problem, nor, why exactly it was fixed. but this what happend and firebase login worked after this.

2reactions
SureshKrishnaaRcommented, Jun 14, 2020

(FIXED) I had the same problem guys…! What I did was I mentioned the firebase-tools version while installing them, that is 𝐧𝐩𝐦 𝐢𝐧𝐬𝐭𝐚𝐥𝐥 -𝐠 𝐟𝐢𝐫𝐞𝐛𝐚𝐬𝐞-𝐭𝐨𝐨𝐥𝐬 𝟖 And after running this command this problem was resolved so go ahead and try out this! If it didn’t work still try reinstalling nodejs (https://nodejs.org/en/download/) and repeating the same procedure… This will work out for sure…!

Read more comments on GitHub >

github_iconTop Results From Across the Web

new_time >= loop->time, file c:\ws\deps\uv\src\win\core.c, line ...
Looks like its an Ice Lake, Nodejs conflict of some sort. ... and I'm no longer getting the error when I attempt firebase...
Read more >
Ice Lake processor time drift causes 'new_time >= loop->time'
Running a local emulator server (Firebase) on my new Dell XPS 13 with i7-1065G7 CPU, I am getting these errors: Assertion failed: new_time...
Read more >
Manage functions | Cloud Functions for Firebase - Google
You can deploy, delete, and modify functions using Firebase CLI commands or by setting runtime options in your functions source code.
Read more >
Firebase Tools broken on Intel Ice Lake (Assertion failed: new_time ...
Problem only affects Intel Ice Lake processors on Windows. No setup needed. Steps to reproduce. Run any command. Example: firebase login. Expected behavior....
Read more >
firebase: command not found error [Solved] | bobbyhadz
To solve the error firebase: command not found, install the firebase cli package globally by running `npm install -g firebase-tools` and restart your ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found