Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

newest Zone.js(angular2) doesn't work with mongoose db #448

Closed
EdSaleh opened this issue Sep 16, 2016 · 6 comments
Closed

newest Zone.js(angular2) doesn't work with mongoose db #448

EdSaleh opened this issue Sep 16, 2016 · 6 comments

Comments

@EdSaleh
Copy link

EdSaleh commented Sep 16, 2016

old version compilers but create other problems.
the new version displays:

c:\Users\ahmed\Documents\Me\Projects\Netbine5\node_modules\zone.js\dist\zone-node.js:129
throw error;
^

TypeError: Cannot read property 'filter' of undefined
at zoneAwareEventListeners (c:\Users\ahmed\Documents\Me\Projects\Netbine5\node_modules\zone.js\dist\zone-node.js:715:13)
at Db.listeners (eval at createNamedFn (c:\Users\ahmed\Documents\Me\Projects\Netbine5\node_modules\zone.js\dist\zone-node.js:724:17), :3:36)
at Server.listener (c:\Users\ahmed\Documents\Me\Projects\Netbine5\node_modules\mongodb\lib\db.js:1786:15)
at Server.g (events.js:286:16)
at ZoneDelegate.invokeTask (c:\Users\ahmed\Documents\Me\Projects\Netbine5\node_modules\zone.js\dist\zone-node.js:225:37)
at Zone.runTask (c:\Users\ahmed\Documents\Me\Projects\Netbine5\node_modules\zone.js\dist\zone-node.js:125:47)
at Server.ZoneTask.invoke (c:\Users\ahmed\Documents\Me\Projects\Netbine5\node_modules\zone.js\dist\zone-node.js:293:33)
at emitTwo (events.js:106:13)
at Server.emit (events.js:191:7)
at Server.connectHandler (c:\Users\ahmed\Documents\Me\Projects\Netbine5\node_modules\mongodb\lib\server.js:329:10)
at Server.g (events.js:286:16)
at ZoneDelegate.invokeTask (c:\Users\ahmed\Documents\Me\Projects\Netbine5\node_modules\zone.js\dist\zone-node.js:225:37)
at Zone.runTask (c:\Users\ahmed\Documents\Me\Projects\Netbine5\node_modules\zone.js\dist\zone-node.js:125:47)
at Server.ZoneTask.invoke (c:\Users\ahmed\Documents\Me\Projects\Netbine5\node_modules\zone.js\dist\zone-node.js:293:33)
at emitOne (events.js:96:13)
at Server.emit (events.js:188:7)

@EdSaleh EdSaleh changed the title newest Zone.js doesn't work with mongoose db newest Zone.js(angular2) doesn't work with mongoose db Sep 16, 2016
@jvbianchi
Copy link

it might be related with angular/universal-starter#164

@hongbo-miao
Copy link

hongbo-miao commented Sep 19, 2016

zone.js 0.6.21 works well. The issue starts from 0.6.22

@mhevery
Copy link
Contributor

mhevery commented Oct 10, 2016

@alexwolfe could you look at this. I think this may be related to the changes you have done to the node.

@alexwolfe
Copy link

@mhevery Haven't made any changes to node, perhaps you meant to tag another Alex?

@mhevery
Copy link
Contributor

mhevery commented Oct 12, 2016

sorry wrong alex, now the right one => @alxhub

@alxhub
Copy link
Member

alxhub commented Oct 12, 2016

@mhevery yep, found the problem. Fix is in PR #485.

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

No branches or pull requests

6 participants