-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
Since this change has been implemented: meteor/meteor#10053
meteorhacks:meteorx is throwing the following error during build:
TypeError: Cannot read property 'constructor' of undefined
at exposeSessionCollectionView (packages/meteorhacks_meteorx.js:73:62)
at exposeLivedata (packages/meteorhacks_meteorx.js:32:5)
at packages/meteorhacks_meteorx.js:176:1
at packages/meteorhacks_meteorx.js:201:4
at packages/meteorhacks_meteorx.js:209:3
at /xxx/.meteor/local/build/programs/server/boot.js:411:36
at Array.forEach (<anonymous>)
at /xxx/.meteor/local/build/programs/server/boot.js:220:19
at /xxx/.meteor/local/build/programs/server/boot.js:471:5
at Function.run (/xxx/.meteor/local/build/programs/server/profile.js:510:12)
at /xxx/.meteor/local/build/programs/server/boot.js:470:11
=> Exited with code: 1
=> Your application is crashing. Waiting for file change.
The fix is to change session._namedSubs.[subId]; to session._namedSubs.has(subId); and documentView.documents.[id].constructor; to documentView.documents.has(id).constructor; in /lib/livedata.js for exposeSubscription() and exposeSessionCollectionView()
gsovereignty and krishaamer
Metadata
Metadata
Assignees
Labels
No labels