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 =\
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:
The browser just returns
Error: could not handle the request
=\Any help would be greatly appreciated - Thx!