firebase / firebase-js-sdk

Firebase Javascript SDK
https://firebase.google.com/docs/web/setup
Other
4.76k stars 873 forks source link

Bloom Blob Missing Specifier in `firebase@10.12` #8319

Open chrisspiegl opened 1 week ago

chrisspiegl commented 1 week ago

Operating System

macOS 14.5

Browser Version

irelevant

Firebase SDK Version

10.12.0

Firebase SDK Product:

Analytics, AppCheck, Auth, Firestore, Performance

Describe your project's tooling

Nuxt@3.12.1 nuxt-vuefire@1.0.2 firebase-admin@12.1.1

Describe the problem

I upgraded to the latest version of firebase with any of the versions above 10.12.0 and get the following errors when running my project:

⚙ [nuxt] warmup for @firebase/webchannel-wrapper/bloom-blob failed with: Missing "./bloom-blob" specifier in "@firebase/webchannel-wrapper" package
⚙ [warmup] tracking dependencies for @firebase/webchannel-wrapper/bloom-blob failed with: Missing "./bloom-blob" specifier in "@firebase/webchannel-wrapper" package

These do not happen with version firebase@10.11 (tested 10.11.1) and have not happened before. When downgrading to firebase@10.11 the issues are no longer present.

I hope this can be fixed and upgraded so we can safely upgrade to v10.12.

Steps and code to reproduce issue

Install the described dependencies. Especially firebase@10.12. Then run the build and the issue comes up in development (after the browser urls are shown).

google-oss-bot commented 1 week ago

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

ehsannas commented 1 week ago

Thanks for reporting this @chrisspiegl . I'll take a look.

ehsannas commented 1 week ago

@chrisspiegl I just found out that we have a typo in one of our package.json files. I've posted https://github.com/firebase/firebase-js-sdk/pull/8331 to fix the typo, but I'm not certain if that's the root cause of the error you're seeing. Could you manually fix this in your project and let me know if it helps?

chrisspiegl commented 6 days ago

@ehsannas thank you for looking into this. I tried looking how I may be able to check this typo but did not find a way to do this. It appears I would have to completely build the SDK myself, which I currently do not have the time to do / test / figure out. Sorry 😢.

ehsannas commented 3 days ago

I haven't been able to reproduce the error unfortunately.

image

My package.json is:

{
  "name": "nuxt-app",
  "private": true,
  "type": "module",
  "scripts": {
    "build": "nuxt build",
    "dev": "nuxt dev",
    "generate": "nuxt generate",
    "preview": "nuxt preview",
    "postinstall": "nuxt prepare"
  },
  "dependencies": {
    "firebase": "10.12.0",
    "firebase-admin": "12.1.1",
    "nuxt": "^3.12.2",
    "nuxt-vuefire": "1.0.2"
  }
}

Could you point me to a minimal reproduction repository?