orbital-flex Whole orbital project, or maybe just the front-end In "\node_modules@firebase\firestore\dist\index.cjs.js", add the line: var window = undefined;