aaronte / angular-universal-firebase

https://angular-universal-firebase.firebaseapp.com/
27 stars 9 forks source link

Firebase Function Errors #6

Open jrodl3r opened 6 years ago

jrodl3r commented 6 years ago

I've also added auth to my project, and initially the firebase deploy was throwing errors for missing packages (@angular/router, angularfire2, rxjs-compat) so I installed them to get by the errors.

However, now getting these errors in firebase functions log:

Unhandled Promise rejection: Event is not defined ; Zone: <root> ; Task: Promise.then ; Value: ReferenceError: Event is not defined
    at DomEventsPlugin.patchEvent (/user_code/node_modules/@angular/platform-browser/bundles/platform-browser.umd.js:1521:14)
    at new DomEventsPlugin (/user_code/node_modules/@angular/platform-browser/bundles/platform-browser.umd.js:1517:15)
    at /user_code/dist/server/main.js:291:2621
    at _callFactory (/user_code/node_modules/@angular/core/bundles/core.umd.js:9375:28)
    at _createProviderInstance$1 (/user_code/node_modules/@angular/core/bundles/core.umd.js:9321:26)
    at resolveNgModuleDep (/user_code/node_modules/@angular/core/bundles/core.umd.js:9284:21)
    at _createClass (/user_code/node_modules/@angular/core/bundles/core.umd.js:9348:29)
    at _createProviderInstance$1 (/user_code/node_modules/@angular/core/bundles/core.umd.js:9318:26)
    at resolveNgModuleDep (/user_code/node_modules/@angular/core/bundles/core.umd.js:9284:21)
    at _createClass (/user_code/node_modules/@angular/core/bundles/core.umd.js:9354:32) ReferenceError: Event is not defined
    at DomEventsPlugin.patchEvent (/user_code/node_modules/@angular/platform-browser/bundles/platform-browser.umd.js:1521:14)
    at new DomEventsPlugin (/user_code/node_modules/@angular/platform-browser/bundles/platform-browser.umd.js:1517:15)
    at /user_code/dist/server/main.js:291:2621
    at _callFactory (/user_code/node_modules/@angular/core/bundles/core.umd.js:9375:28)
    at _createProviderInstance$1 (/user_code/node_modules/@angular/core/bundles/core.umd.js:9321:26)
    at resolveNgModuleDep (/user_code/node_modules/@angular/core/bundles/core.umd.js:9284:21)
    at _createClass (/user_code/node_modules/@angular/core/bundles/core.umd.js:9348:29)
    at _createProviderInstance$1 (/user_code/node_modules/@angular/core/bundles/core.umd.js:9318:26)
    at resolveNgModuleDep (/user_code/node_modules/@angular/core/bundles/core.umd.js:9284:21)
    at _createClass (/user_code/node_modules/@angular/core/bundles/core.umd.js:9354:32)

The browser just returns Error: could not handle the request =\

Any help would be greatly appreciated - Thx!

calibri87 commented 5 years ago

@jrodl3r did you manage to get this github working? I cant seem to get it working with third party libraries?

jrodl3r commented 5 years ago

@calibri87 honestly, can't remember. I think so 👍

AnriTapel commented 4 years ago

PLEASE HELP!!! https://stackoverflow.com/questions/62646379/cant-deploy-angular-9-app-with-angular-universal-to-firebase-with-firebase-func