Package Details: firebase-tools-bin 13.27.0-1

Git Clone URL: https://aur.archlinux.org/firebase-tools-bin.git (read-only, click to copy)
Package Base: firebase-tools-bin
Description: The Firebase Command Line Tools (bundled official standalone binary)
Upstream URL: https://github.com/firebase/firebase-tools
Keywords: firebase google
Licenses: MIT
Conflicts: firebase-tools
Submitter: attakei
Maintainer: attakei
Last Packager: attakei
Votes: 5
Popularity: 0.98
First Submitted: 2021-12-31 13:18 (UTC)
Last Updated: 2024-11-22 02:29 (UTC)

Latest Comments

sbeve72 commented on 2024-07-13 06:47 (UTC) (edited on 2024-07-13 06:47 (UTC) by sbeve72)

Facing an issue where starting the emulator causes it to crash if the UI option is enabled.

Console message:

⚠  ui: Fatal error occurred: 
   Emulator UI has exited with code: 1, 
   stopping all running emulators

ui.log file $ cat ui-debug.log

node:internal/modules/cjs/loader:986
    throw new ERR_REQUIRE_ESM(filename, true);
    ^

Error [ERR_REQUIRE_ESM]: require() of ES Module /home/sbeve72/.cache/firebase/emulators/ui-v1.12.1/server/server.mjs not supported.
Instead change the require of /home/sbeve72/.cache/firebase/emulators/ui-v1.12.1/server/server.mjs to a dynamic import() which is available in all CommonJS modules.
    at Function.runMain (pkg/prelude/bootstrap.js:1979:12) {
  code: 'ERR_REQUIRE_ESM'
}

Node.js v18.5.0

Fraterius commented on 2024-04-02 23:35 (UTC)

Ok after quick IRC session I've managed to fix this by disabling debug option in makepkg.conf. Apparently makepkg is currently broken, not the PKGBUILD. For silikeite the fix was the cached version of the package and not the old PKGBUILD (that also doesn't work). Here are my options:

OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !debug lto)

Here is the upstream issue: https://gitlab.archlinux.org/pacman/pacman/-/issues/114

Fraterius commented on 2024-04-02 23:00 (UTC)

I'm getting the same error: Pkg: Error reading from file

It's extremely wired as there's not much that is being done in the PKGBUILD. But what I eventually got to, is that the final binary is simply broken. I've got no idea why is this happening.

In the end I'm getting such binary:

du -sh /usr/bin/firebase
45M /usr/bin/firebase

md5sum /usr/bin/firebase
202b972b9ab7d3082f3e69457427d1b2  /usr/bin/firebase

I've tried building with makepkg, with paru and even without compression cause I thought that maybe compression is the issue here. I always end up with the same result. Is it possible that the line:

install -Dm755 "${binPath}" "${pkgdir}/usr/bin/firebase"

is responsible for this? I've updated the system like twice ans still getting the same result. Really no idea where this is coming from...

silikeite commented on 2024-03-17 06:15 (UTC)

Getting Pkg: Error reading from file from 13.5.1-1. Reverting to 13.5.0-1 fixes this issue, so I assume this is a regression in the PKGBUILD?

mmoya commented on 2024-02-08 11:55 (UTC)

Please consider reusing pkgver value down in the script.

attakei commented on 2023-11-18 03:23 (UTC)

Thank you for feedback. I append deps now.

micwoj92 commented on 2023-11-04 11:37 (UTC)

Please add glibc and gcc-libs to depends.