You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 22, 2024. It is now read-only.
What is the current behavior?
Importing angular2-universal-polyfills breaks MongoDB connection via Mongoose. Stack trace:
C:\Angular Projects\universal-starter\node_modules\zone.js\dist\zone-node.js:140
throw error;
^
TypeError: Cannot read property 'filter' of undefined
at zoneAwareEventListeners (C:\Angular Projects\universal-starter\node_modules\zone.js\dist\zone-node.js:772:13)
at Db.listeners (eval at createNamedFn (C:\Angular Projects\universal-starter\node_modules\zone.js\dist\zone-node.js:785:17), <anonymous>:3:36)
at Server.listener (C:\Angular Projects\universal-starter\node_modules\mongodb\lib\db.js:1790:15)
at Server.g (events.js:291:16)
at ZoneDelegate.invokeTask (C:\Angular Projects\universal-starter\node_modules\zone.js\dist\zone-node.js:236:37)
at Zone.runTask (C:\Angular Projects\universal-starter\node_modules\zone.js\dist\zone-node.js:136:47)
at Server.ZoneTask.invoke (C:\Angular Projects\universal-starter\node_modules\zone.js\dist\zone-node.js:304:33)
at emitTwo (events.js:106:13)
at Server.emit (events.js:191:7)
at Server.connectHandler (C:\Angular Projects\universal-starter\node_modules\mongodb\lib\server.js:329:10)
at Server.g (events.js:291:16)
at ZoneDelegate.invokeTask (C:\Angular Projects\universal-starter\node_modules\zone.js\dist\zone-node.js:236:37)
at Zone.runTask (C:\Angular Projects\universal-starter\node_modules\zone.js\dist\zone-node.js:136:47)
at Server.ZoneTask.invoke (C:\Angular Projects\universal-starter\node_modules\zone.js\dist\zone-node.js:304:33)
at emitOne (events.js:96:13)
at Server.emit (events.js:188:7)
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem by creating a github repo.
Importing
angular2-universal-polyfills
breaks MongoDB connection via Mongoose. Stack trace:Cloned the universal starter to demo this bug. https://github.com/bdunn44/universal-starter/commit/f5b948447bfde7a9cdc8eaeb9fbd31bd9e6aba02
The text was updated successfully, but these errors were encountered: