Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

docs(storage-resize-images): kit README's Multiple instances section fails in an installed project

Aperta Adatta ai principianti
#3,271 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
77/100
Tipo di issue
Documentazione
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
firebase, typescript
Ambito
documentation

Direzione di ricerca

Leggi le sezioni Configuration e Multiple instances del README del kit storage-resize-images. Documenta il workflow con functions:kits:install e functions:kits:uninstall --instance, inclusi la struttura installata e il comportamento descritto nell’issue, e spiega che un IS_ANIMATED= vuoto significa false. Il lavoro è completato quando il README descrive chiaramente la creazione e la rimozione delle istanze e l’impostazione dell’animazione.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

kits type: bug

storage-resize-images kit. Priority: low. Following the README's multiple-instance steps fails in an installed project, and two behaviours are undocumented.

Problems
  • The "Multiple instances" firebase.json fails in a project created by firebase functions:kits:install:
    Error: Could not detect runtime for functions at <project dir>
    
    What works is the layout the install writes: source at function-kits/storage-resize-images/source with its sourcePackage and predeploy entries, and one config-<id> directory per instance, each with a full .env (including FUNCTION_DEFAULT_REGION). Running the install a second time adds an instance, but always with id storage-resize-images and an empty .env. The README mentions neither route.
  • Removing one instance isn't documented. firebase functions:kits:uninstall --instance <id> removed that instance's function, Cloud Run service, Eventarc trigger, service account, config directory and firebase.json entry, and left the other instance running.
  • An empty IS_ANIMATED= drops animation. It deploys without warning, and a 5-frame gif and webp both come out as one frame. The Configuration table lists the default as true. The extension can't be installed with an empty value, and by reading its parser would also treat one as false, so this is a docs gap.
Code
Resolution

Rewrite "Multiple instances" around functions:kits:install and functions:kits:uninstall --instance, and note that an empty IS_ANIMATED= means false.

Lingua principale
TypeScript
Stelle
978
Fork
433
Merge medio
21h 58m
PR unite (30g)
16

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di firebase/extensions

Tutte le issue di firebase/extensions

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.