Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.success is not a function (Bower hasn't the last version) #342

Open
LeDiegue opened this issue Dec 19, 2016 · 12 comments
Open

.success is not a function (Bower hasn't the last version) #342

LeDiegue opened this issue Dec 19, 2016 · 12 comments

Comments

@LeDiegue
Copy link

This issue was solved in the last commits, but bower hasn't the last version.. :(

@ahmadalfy
Copy link

I am having this issue right now.

@ahmadalfy
Copy link

It seem that the problem is happening to Angular 1.6.0 check the changelog

$http:
remove deprecated callback methods: success()/error() (b54a39)

This need to be addressed quickly and to switch to then().

@CJYate
Copy link

CJYate commented Dec 20, 2016

Anyone got a workaround?
Downgrade Angular?

@ahmadalfy
Copy link

I resolved that by fixing my Angular dependency to version 1.5.10

@CJYate
Copy link

CJYate commented Dec 20, 2016

Yes, that's better. Thanks. I guess we need a new release? Though I suppose using git as the source for bower.json should also work...

@ahmadalfy
Copy link

Yes it should work. I however used resolution

  "resolutions": {
    "angular": "1.5.10"
  }

@norato
Copy link

norato commented Dec 20, 2016

@ahmadalfy It works form me too, I also had to downgrade a lot of packages

@delamorinierejh
Copy link

@ahmadalfy I had to do that too. Is there a timeline for this fix?

@acovrig
Copy link

acovrig commented Dec 25, 2016

I tried installing from git: bower install --save https://github.com/lynndylanhurley/ng-token-auth.git
and it still wants to downgrade angular to 1.5.3 (>=1.4 <=1.5.3) while almost everything in my app requires angular#1.6.1 (so I can't accept 1.5.3). Is there an easy way to downgrade other packages to match the angular#1.5.3 requirement?

I created my app w/ yo angular $appname, BTW.

@ahmadalfy
Copy link

@acovrig make sure you install 1.5.10. ng-token-auth won't work with 1.6.x

@Rush
Copy link

Rush commented Jan 10, 2017

Shouldn't changing .success to .then fix it?

@deric
Copy link

deric commented Jan 16, 2017

@booleanbetrayal Would it be possible to do a new release?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants