Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

messaging quickstart does not work #775

Open
thedmdim opened this issue Feb 13, 2024 · 3 comments
Open

messaging quickstart does not work #775

thedmdim opened this issue Feb 13, 2024 · 3 comments

Comments

@thedmdim
Copy link

Step 1: Describe your environment

  • Operating system: MacOS
  • Browser: Safari/Chrome
  • Firebase SDK version: 12.5.4

Step 2: Describe the problem:

I have filled config.ts then I did npm run build and firebase emulators:start. The page loaded and I click Request Permission and get next output:
image

Steps to reproduce:

  1. git clone https://github.com/firebase/quickstart-js
  2. cd messaging/
  3. fill config.ts
  4. npm run build
  5. firebase emulators:start
@jackfoust
Copy link

Seeing this as well, did you find a resolution @thedmdim?

@thedmdim
Copy link
Author

@jackfoust hi, i managed to solve this then, but don't remember how. My diff is
image

@jackfoust
Copy link

@thedmdim ah, nice! That makes sense though to switch that .js up a bit if you're not using firebase hosting. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants