firebase-tools: Firepit Builds for Windows have been failing since 7.6.0

[REQUIRED] Environment info

Platform: Windows 10

firebase-tools: firebase-tools: The one provided over here: https://firebase.google.com/docs/cli/#install-cli-windows

Platform:

[REQUIRED] Test case

I am just trying to launch the emulator

[REQUIRED] Steps to reproduce

After downloading the firebase-tools-instant-win.exe and tried various commands with no difference

firebase-tools-instant-win.exe firebase init firebase-tools-instant-win.exe firebase login

I tried launching the emulator by double clicking, which prompted windows defender to confirm the action, which I rightly did and tried above the commands again thereafter as well. Annotation 2019-11-14 003651

[REQUIRED] Expected behavior

Should launch the emulator or should give error/warning

[REQUIRED] Actual behavior

I don’t see no any response from the above command.

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 4
  • Comments: 27 (11 by maintainers)

Most upvoted comments

Same issue here, however this occurred for me when moving firebase-tools-instant-win.exe between drives.

I have 4 physical drives, one of which is split into two partitions.

Drive A (Part1) - C:\ (I can copy here, and run successfully - this is my windows drive) Drive A (Part2) - F:\ (where the exe was originally run - and still works) Drive B,C,D - Copying the exe to any of these drives and running it results in the following error:

image

Same on Windows 10 with firebase-tools-instant-win.exe v8.1.1. 😢

B:\SRC\firebase-quickstart-js>firebase --debug
################################################################################################################################################################

     Welcome to...
   ######## #### ########  ######## ########     ###     ######  ########  ##
   ##        ##  ##     ## ##       ##     ##  ##   ##  ##       ##        ##
   ######    ##  ########  ######   ########  #########  ######  ######    ##
   ##        ##  ##    ##  ##       ##     ## ##     ##       ## ##
   ##       #### ##     ## ######## ########  ##     ##  ######  ########  ##


################################################################################################################################################################

~ Let's make sure your Firebase CLI is ready...
undefined:1



SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at ChildProcess.<anonymous> (C:\snapshot\firepit\welcome.js:115:27)
    at ChildProcess.emit (events.js:311:20)
    at maybeClose (internal/child_process.js:1021:16)
    at Socket.<anonymous> (internal/child_process.js:443:11)
    at Socket.emit (events.js:311:20)
    at Pipe.<anonymous> (net.js:668:12)

>

First I run firebase-tools-instant-win.exe in cmd.exe as an admin and it output several lines about preparation. Every next invocation results with error quoted above.

–EDIT– Looks like firebase-tools-win.exe works just right in the same time.

Hardcore Win pro chiming in here. I can confirm that firebase-tools-instant-win.exe does absolutely nothing. It creates an 11kb entry in \windows\prefetch and then instantly returns to command line. Zero. Zilch. Nada. No other file handles are being opened, no new processes are created. The executable is just one big fat 100MB NOP.

OS Name: Microsoft Windows 10 Pro OS Version: 10.0.18362 N/A Build 18362 OS Manufacturer: Microsoft Corporation OS Configuration: Standalone Workstation OS Build Type: Multiprocessor Free
Original Install Date: 10/27/2019, 8:38:49 PM System Boot Time: 1/1/2020, 1:42:40 PM System Manufacturer: LENOVO System Model: 81TF System Type: x64-based PC Processor(s): 1 Processor(s) Installed. [01]: Intel64 Family 6 Model 142 Stepping 10 GenuineIntel ~1792 Mhz BIOS Version: LENOVO 5NCN46WW, 2/27/2019 Windows Directory: C:\WINDOWS System Directory: C:\WINDOWS\system32 Boot Device: \Device\HarddiskVolume1 System Locale: en-us;English (United States) Input Locale: en-us;English (United States) Time Zone: (UTC-05:00) Eastern Time (US & Canada) Total Physical Memory: 16,227 MB Available Physical Memory: 6,297 MB Virtual Memory: Max Size: 24,880 MB Virtual Memory: Available: 3,487 MB Virtual Memory: In Use: 21,393 MB Page File Location(s): C:\pagefile.sys Hotfix(s): 7 Hotfix(s) Installed. [01]: KB4533002 [02]: KB4516115 [03]: KB4521863 [04]: KB4524569 [05]: KB4525419 [06]: KB4532441 [07]: KB4530684 Hyper-V Requirements: VM Monitor Mode Extensions: Yes Virtualization Enabled In Firmware: Yes Second Level Address Translation: Yes Data Execution Prevention Available: Yes