Adding accounts-ui and accounts-password breaks the app

Hello there,
I am trying to follow the tutorial in this link https://www.meteor.com/tutorials/react/adding-user-accounts
But whenever i add the accounts-ui and accounts-password packages the console is filled with errors like

Cannot read property 'Template' of undefined

And

Cannot read property 'Blaze' of undefined

Note: I have checked this blog post New Meteor app crashes after adding accounts-password
Tried deleting .local and my ~/.meteor folder with no luck.

Thanks in advance.

1 Like

accounts-ui is a package that depends on Blaze and thus expects it to be installed. Maybe you should check out an alternative ui package written for react

 metero search accounts-ui | grep react
alt:react-accounts-ui                              Alternative accounts ui us...
jeremy:react-accounts-ui                           React UI for Meteor Accounts
okgrow:accounts-ui-react                           Accounts-ui wrapped in React.
sonynn:react-accounts-ui                           Accounts UI for React in M...

Thanks a lot.
I thought they were trying to “wrap” blaze into react ?
If this doesn’t work universally for everyone then this should be removed from the tutorial then.

1 Like