Angular2 Meteor tutorial errors at meteor add accounts-password

I’m trying to do the Angular2 Meteor tutorial and i made it to part8 User Accounts.

When i try to meteor add accounts-password, i get many errors, the app crashes and i don’t know how to pass it.

Can someone tell me why this is happening?

The tutorial was upgraded to use the new Angular2 router v3. It appears the angular2-meteor-accounts-ui package hasn’t been upgraded to use it or fully debugged. I’m seeing these errors in Step 8.

Here’s a link to my broken Socially Step 08 repo in case anyone needs it…

Can you please try to the new angular2-meteor-accounts-ui version that we released today?

Thanks @Urigo, it works now with the new version “angular2-meteor-accounts-ui@0.6.1”.

I am getting the same errors as mentioned in the first post when installing meteor add accounts-password

=> Exited with code: 8
=> Your application is crashing. Waiting for file change.
=> Modified – restarting.
client/imports/user-details/user-details.ts (5, 22): Cannot find module ‘./user-details.html’.
client/imports/users-form/users-form.ts (7, 22): Cannot find module ‘./users-form.html’.
client/imports/users-list/users-list.ts (8, 22): Cannot find module ‘./users-list.html’.
W20160722-09:34:53.532(3)? (STDERR)
W20160722-09:34:53.533(3)? (STDERR) C:\Users\Laptop\AppData\Local.meteor\packages\meteor-tool\1.3.5_1\\dev_bundle\server-lib\node_modules\fibers\future.js:280
W20160722-09:34:53.535(3)? (STDERR)
W20160722-09:34:53.536(3)? (STDERR)
W20160722-09:34:53.536(3)? (STDERR) Error: There is already a collection named "users"
W20160722-09:34:53.537(3)? (STDERR) at new Mongo.Collection (packages/mongo/collection.js:244:15)
W20160722-09:34:53.539(3)? (STDERR) at meteorInstall.collections.users.ts (collections/users.ts:3:20)
W20160722-09:34:53.541(3)? (STDERR) at fileEvaluate (packages/modules-runtime/.npm/package/node_modules/install/install.js:153:1)
W20160722-09:34:53.542(3)? (STDERR) at require (packages/modules-runtime/.npm/package/node_modules/install/install.js:82:1)
W20160722-09:34:53.544(3)? (STDERR) at D:\Meteor\a2meteorhr.meteor\local\build\programs\server\app\app.js:60:1
W20160722-09:34:53.546(3)? (STDERR) at D:\Meteor\a2meteorhr.meteor\local\build\programs\server\boot.js:297:10
W20160722-09:34:53.547(3)? (STDERR) at Array.forEach (native)
W20160722-09:34:53.549(3)? (STDERR) at Function..each..forEach (C:\Users\Laptop\AppData\Local.meteor\packages\meteor-tool\1.3.5_1\\dev_bundle\server-lib\node_modules\underscore\underscore.js:79:11)
W20160722-09:34:53.551(3)? (STDERR) at D:\Meteor\a2meteorhr.meteor\local\build\programs\server\boot.js:133:5

Hmm insitead of parties i used users, and just now i’m thinking, could this be conflicting with probably the default users db that Meteor is using for accounts?

Edit: Ok that was it! :)) Put a warning sign, for newbies like me, DO NOT USE users AS DATABASE! xD