Urigo / angular2-meteor-accounts-ui

18 stars 20 forks source link

RequireUser not working #26

Closed theasc closed 8 years ago

theasc commented 8 years ago

I'm following this tutorial and my problem is that the annotation "@RequireUser" bugs everything, the only error that display at my chrome console is : Uncaught ReferenceError: _super is not defined RequireUserAnnotation @ annotations.js:46 DecoratorFactory @ decorators.js:179 (anonymous function) @ party-details.ts:14 meteorInstall.client.imports.party-details.party-details.ts @ party-details.ts:46 fileEvaluate @ install.js:153 require @ install.js:82 meteorInstall.client.app.ts @ app.ts:7 fileEvaluate @ install.js:153 require @ install.js:82 (anonymous function) @ parties.ts:22 and that error point out the @RequireUser annotation.

Does anyone know where the problem comes from ? Here you can find the code sample

dotansimha commented 8 years ago

Hi @theasc, can you provide your package.json? Are you using the latest version of angular2-meteor and angular2-meteor-accounts-ui?

Thanks.

theasc commented 8 years ago

Hi @dotansimha, I'm actually using the version 0.5.0 of angular2-meteor-accounts-ui and version 0.5.6 for angular2-meteor.

Here is the package.json

dotansimha commented 8 years ago

@theasc Please try to use the newer versions. angular2-meteor has 0.6.1 and angular2-meteor-accounts-ui has 0.6.1.

theasc commented 8 years ago

thanks @dotansimha it worked.