Meteor angular 2 windows

I am having trouble to run meteor angular 2 example https://github.com/Urigo/meteor-angular-socially
but having trouble on windows 8.1:
=> Started proxy.
=> Started MongoDB.
client/imports/auth/login.mobile.component.ts (44, 16): Property ‘requestPhoneVerification’ does not exist on type ‘typeof Accounts’.
client/imports/auth/login.mobile.component.ts (59, 16): Property ‘verifyPhone’ does not exist on type ‘typeof Accounts’.
W20160821-22:59:19.894(2)? (STDERR) C:\Users\mahmoud\AppData\Local.meteor\packages\meteor-tool\1.4.1\mt-os.windows.x86_32\dev_bundle\server-lib\node_modules\fibers\future.js:280
W20160821-22:59:20.096(2)? (STDERR) throw(ex);
W20160821-22:59:20.098(2)? (STDERR) ^
W20160821-22:59:20.100(2)? (STDERR)
W20160821-22:59:20.101(2)? (STDERR) Error: There is already a collection named "images"
W20160821-22:59:20.101(2)? (STDERR) at [object Object].Mongo.Collection (packages/mongo/collection.js:244:15)
W20160821-22:59:20.102(2)? (STDERR) at new ns.Collection (packages/matb33_collection-hooks/packages/matb33_collection-hooks.js:198:1)
W20160821-22:59:20.103(2)? (STDERR) at meteorInstall.both.collections.images.collection.js (both/collections/images.collection.ts:7:23)
W20160821-22:59:20.104(2)? (STDERR) at fileEvaluate (packages/modules-runtime/.npm/package/node_modules/install/install.js:153:1)
W20160821-22:59:20.104(2)? (STDERR) at require (packages/modules-runtime/.npm/package/node_modules/install/install.js:82:1)
W20160821-22:59:20.105(2)? (STDERR) at both/methods/parties.methods.ts:92:4
W20160821-22:59:20.105(2)? (STDERR) at C:\Users\mahmoud\WebstormProjects\meteor-angular2.0-socially.meteor\local\build\programs\server\boot.js:292:10
W20160821-22:59:20.106(2)? (STDERR) at Array.forEach (native)
W20160821-22:59:20.106(2)? (STDERR) at Function..each..forEach (C:\Users\mahmoud\AppData\Local.meteor\packages\meteor-tool\1.4.1\mt-os.windows.x86_32\dev_bundle\server-lib\node_modules\underscore\underscore.js:79:11)
W20160821-22:59:20.106(2)? (STDERR) at C:\Users\mahmoud\WebstormProjects\meteor-angular2.0-socially.meteor\local\build\programs\server\boot.js:128:5
=> Exited with code: 1
client/imports/auth/login.mobile.component.ts (44, 16): Property ‘requestPhoneVerification’ does not exist on type ‘typeof Accounts’.
client/imports/auth/login.mobile.component.ts (59, 16): Property ‘verifyPhone’ does not exist on type ‘typeof Accounts’.
W20160821-23:02:22.266(2)? (STDERR) C:\Users\mahmoud\AppData\Local.meteor\packages\meteor-tool\1.4.1\mt-os.windows.x86_32\dev_bundle\server-lib\node_modules\fibers\future.js:280
W20160821-23:02:22.274(2)? (STDERR) throw(ex);
W20160821-23:02:22.275(2)? (STDERR) ^
W20160821-23:02:22.276(2)? (STDERR)
W20160821-23:02:22.276(2)? (STDERR) Error: There is already a collection named "images"
W20160821-23:02:22.277(2)? (STDERR) at [object Object].Mongo.Collection (packages/mongo/collection.js:244:15)
W20160821-23:02:22.277(2)? (STDERR) at new ns.Collection (packages/matb33_collection-hooks/packages/matb33_collection-hooks.js:198:1)
W20160821-23:02:22.278(2)? (STDERR) at meteorInstall.both.collections.images.collection.js (both/collections/images.collection.ts:7:23)
W20160821-23:02:22.278(2)? (STDERR) at fileEvaluate (packages/modules-runtime/.npm/package/node_modules/install/install.js:153:1)
W20160821-23:02:22.278(2)? (STDERR) at require (packages/modules-runtime/.npm/package/node_modules/install/install.js:82:1)
W20160821-23:02:22.279(2)? (STDERR) at both/methods/parties.methods.ts:92:4
W20160821-23:02:22.279(2)? (STDERR) at C:\Users\mahmoud\WebstormProjects\meteor-angular2.0-socially.meteor\local\build\programs\server\boot.js:292:10
W20160821-23:02:22.280(2)? (STDERR) at Array.forEach (native)
W20160821-23:02:22.280(2)? (STDERR) at Function..each..forEach (C:\Users\mahmoud\AppData\Local.meteor\packages\meteor-tool\1.4.1\mt-os.windows.x86_32\dev_bundle\server-lib\node_modules\underscore\underscore.js:79:11)
W20160821-23:02:22.280(2)? (STDERR) at C:\Users\mahmoud\WebstormProjects\meteor-angular2.0-socially.meteor\local\build\programs\server\boot.js:128:5
=> Exited with code: 1

It is because that your IDE also compiles .ts files.
Please check There is already a collection named "collection" in angular 2 + meteor · Issue #318 · Urigo/angular2-meteor · GitHub

1 Like

Those two are typings issues, should not affect your work. But you can report them on github.