firebase / firebase-functions

Firebase SDK for Cloud Functions
https://firebase.google.com/docs/functions/
MIT License
1.01k stars 201 forks source link

Firebase Emulator simply does not initialize .env.[project] #1482

Closed Padreco-lbr closed 7 months ago

Padreco-lbr commented 7 months ago

Related issues

Firebase Emulator simply does not initialize .env || .env.local || .env.default firebase/firebase-tools#6499

Just reopening this issue, since it was closed by a bot but still happens.

google-oss-bot commented 7 months ago

I found a few problems with this issue:

OskarGroth commented 7 months ago

Running into the same issue.

Trying to do:

import { projectID } from 'firebase-functions/params'
const uploadBucket = `${projectID.value}-uploads`

export const onUpload = onObjectFinalized({ bucket: uploadBucket }, async (event) => { ... }

Fails

taeold commented 7 months ago

Re-opening https://github.com/firebase/firebase-tools/issues/6499 - thanks for escalating.