question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Angular SSR - proxyRequestMethods(Index, '_index', IDBIndex, [ ^ ReferenceError: IDBIndex is not defined

See original GitHub issue

Hello. I just found out that upgrading firebase package from 9.4.0 to 9.6.1 on my Angular 13.1.1 SSR project caused a issue with starting the app under IIS node instance. The error is this: proxyRequestMethods(Index, '_index', IDBIndex, [ ^ ReferenceError: IDBIndex is not defined

This packages are all good. To replicate the bug, just update the version of the firebase package to 9.6.1 and try to run the script dev:ssr I have tried with @angular/fire but the result was same.

“scripts”: { “ng”: “ng”, “start”: “ng serve -o”, “build”: “ng build”, “watch”: “ng build --watch --configuration development”, “test”: “ng test”, “dev:ssr”: “ng run your-proj-name:serve-ssr”, “serve:ssr”: “node dist/your-proj-name/server/main.js”, “build:ssr”: “ng build --configuration production && ng run your-proj-name:server:production”, “prerender”: “ng run your-proj-name:prerender” }, “dependencies”: { “@angular/animations”: “^13.1.1”, “@angular/common”: “^13.1.1”, “@angular/compiler”: “^13.1.1”, “@angular/core”: “^13.1.1”, “@angular/forms”: “^13.1.1”, “@angular/google-maps”: “^13.1.1”, “@angular/platform-browser”: “^13.1.1”, “@angular/platform-browser-dynamic”: “^13.1.1”, “@angular/platform-server”: “^13.1.1”, “@angular/router”: “^13.1.1”, “@nguniversal/common”: “^13.0.1”, “@nguniversal/express-engine”: “^13.0.1”, “@ngx-pwa/local-storage”: “^13.0.2”, “@types/mixpanel-browser”: “^2.35.8”, “express”: “^4.17.1”, “firebase”: “9.4.0”, “flatpickr”: “^4.6.9”, “mixpanel-browser”: “^2.42.0”, “ngx-seo”: “^5.3.0”, “rxjs”: “^7.4.0”, “tslib”: “^2.3.1”, “zone.js”: “^0.11.4” }, “devDependencies”: { “@angular-devkit/build-angular”: “^13.1.2”, “@angular/cli”: “^13.1.2”, “@angular/compiler-cli”: “^13.1.1”, “@nguniversal/builders”: “^13.0.1”, “@types/express”: “^4.17.13”, “@types/google.maps”: “^3.47.1”, “@types/jasmine”: “^3.10.2”, “@types/node”: “^16.11.12”, “jasmine-core”: “^3.9.0”, “jasmine-spec-reporter”: “^7.0.0”, “karma”: “^6.3.9”, “karma-chrome-launcher”: “^3.1.0”, “karma-coverage”: “^2.1.0”, “karma-jasmine”: “^4.0.1”, “karma-jasmine-html-reporter”: “^1.7.0”, “typescript”: “^4.4.4” }

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:12 (1 by maintainers)

github_iconTop GitHub Comments

13reactions
samizarraacommented, Feb 10, 2022

Is there any update for this issue?

2reactions
miguelsmullercommented, Feb 2, 2022

@all do you have any news other than downgrading?

Read more comments on GitHub >

github_iconTop Results From Across the Web

ReferenceError: IDBIndex is not defined in angular universal ...
After building and running the angular 7 universal application, I get these errors in the dist folder. /home/trd/TRD/dpm_home_page/dist/server.
Read more >
Server-side rendering (SSR) with Angular Universal
This guide describes Angular Universal, a technology that renders Angular applications on the server. A normal Angular application executes in the browser, ...
Read more >
Angular Universal: Complete Practical Guide
This post will be a complete practical guide for getting started with Angular Universal. We are going to go start with an existing...
Read more >
Angular Universal: ReferenceError: window is not defined
This error can be caused by a reference to the Window object if you are rendering your application from a server like Node.js....
Read more >
Angular Universal: real app problems - InDepth.Dev
SSR issues in Angular · 1. Infinite page loading · 2. Lack of cache out of the box · 3. Server errors of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found