meteor_1.Meteor.subscribe is not a function


#1

Hello so I am doing meteor angular tutorial with angular 2. I am at step 9. I write the as is written there but get the following error. Can you please help me?

=> Exited with code: 1
W20160810-14:10:24.253(4)? (STDERR) /home/hayk/.meteor/packages/meteor-tool/.1.4.0-1.13j49n2++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:280
W20160810-14:10:24.254(4)? (STDERR) throw(ex);
W20160810-14:10:24.256(4)? (STDERR) ^
W20160810-14:10:24.257(4)? (STDERR)
W20160810-14:10:24.258(4)? (STDERR) TypeError: meteor_1.Meteor.subscribe is not a function
W20160810-14:10:24.259(4)? (STDERR) at meteorInstall.server.imports.publications.parties.js (server/imports/publications/parties.ts:5:8)
W20160810-14:10:24.259(4)? (STDERR) at fileEvaluate (packages/modules-runtime/.npm/package/node_modules/install/install.js:153:1)
W20160810-14:10:24.260(4)? (STDERR) at require (packages/modules-runtime/.npm/package/node_modules/install/install.js:82:1)
W20160810-14:10:24.261(4)? (STDERR) at meteorInstall.server.main.js (server/main.ts:4:1)
W20160810-14:10:24.261(4)? (STDERR) at fileEvaluate (packages/modules-runtime/.npm/package/node_modules/install/install.js:153:1)
W20160810-14:10:24.262(4)? (STDERR) at require (packages/modules-runtime/.npm/package/node_modules/install/install.js:82:1)
W20160810-14:10:24.263(4)? (STDERR) at both/collections/parties.collection.ts:15:4
W20160810-14:10:24.263(4)? (STDERR) at /home/hayk/meteorJSTuts/meteorAngular/meteor-angular2.0-socially-step_04/.meteor/local/build/programs/server/boot.js:297:10
W20160810-14:10:24.264(4)? (STDERR) at Array.forEach (native)
W20160810-14:10:24.264(4)? (STDERR) at Function..each..forEach (/home/hayk/.meteor/packages/meteor-tool/.1.4.0-1.13j49n2++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/server-lib/node_modules/underscore/underscore.js:79:11)