"Uncaught SyntaxError: Function statements require a function name" error with firebase/firestore #11626
Closed
7 tasks done
Labels
bug: upstream
Bug in a dependency of Vite
p3-minor-bug
An edge case that only affects very specific usage (priority)
Describe the bug
Using stuff from
firebase/firestore
throws aUncaught SyntaxError: Function statements require a function name
error in the browserThat is not happening with Vue CLI app (so that may mean that it's not a firebase issue), that also didn't happen with vite a while ago (approx. few months, not sure what version I was using at that time, tried to narrow dependencies versions but without success)
Reproduction
https://github.com/jacekkarczmarczyk/vite-firebase-issue
Steps to reproduce
Clone repo, run
pnpm dev
, open browser consoleStackblitz version: https://stackblitz.com/github/jacekkarczmarczyk/vite-firebase-issue?file=src%2Fmain.js
System Info
Used Package Manager
pnpm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: