Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firebase Function Errors #6

Open
jrodl3r opened this issue Jul 8, 2018 · 3 comments
Open

Firebase Function Errors #6

jrodl3r opened this issue Jul 8, 2018 · 3 comments

Comments

@jrodl3r
Copy link

jrodl3r commented Jul 8, 2018

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
Copy link

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

@jrodl3r
Copy link
Author

jrodl3r commented Apr 4, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants