Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Bower/Angular 1.5.8 Issue with Sub Dependency Aria 1.6.3 #10475

Closed
MatthewVita opened this issue Mar 8, 2017 · 11 comments
Closed

Bower/Angular 1.5.8 Issue with Sub Dependency Aria 1.6.3 #10475

MatthewVita opened this issue Mar 8, 2017 · 11 comments

Comments

@MatthewVita
Copy link

Hello all. Just leaving this here in case someone runs into the same issue. Feel free to close it.

Our team is using bower and we're using "angular": "1.5.8" and "angular-material": "1.0.9". However, it seems as though material pulling down a version of angular-aria (1.6.3 ?) that is incompatible with our version of angular.

The fix was adding "angular-aria": "1.5.8" to the root node of the dependencies.

Thanks,
Matthew

@LoganLehman
Copy link

Awesome. Glad you can override. Truly it seems as though the module.info() call was all that was utilized from 1.6. Seems odd that they would be willing to break everyone's project <=1.5.9 just for that.

@MatthewVita
Copy link
Author

Yep, .info is critically important xD

@lennonjesus
Copy link

lennonjesus commented Mar 8, 2017

Here, we have a problem with angular-material 1.1.1 and angular 1.5.8. Build broked. :/

@adamjaffeback
Copy link

Also breaks Angular 1.4.8. Thanks for the help @MatthewVita!

@MatthewVita
Copy link
Author

MatthewVita commented Mar 9, 2017

Btw, my coworker @ShaneChesnutt and I tried using the overrides config for this, but got nowhere. Note that my suggested solution is nothing more than a workaround.

@Narretz
Copy link

Narretz commented Mar 9, 2017

Are you guys using jspm?

@ShaneChesnutt
Copy link

No, we are using bower.

@Narretz
Copy link

Narretz commented Mar 9, 2017

The material bower file is too lax in this case: https://github.com/angular/bower-material/blob/v1.0.9/bower.json

@ThomasBurleson
Copy link
Contributor

ThomasBurleson commented Mar 9, 2017

The AngularJS Material (v1.x) team only supports the latest release of ngM1. We do not support older versions of ngM1. Only ngM v1.1.3.

If a developer installs (npm or bower) ngM, then v1.1.3 will be installed and ngM1.x has
a) bower dependencies on ng 1.6.3.
b) npm peer dependencies on ng 1.6.3

Per the AngularJS 1.x core team: It is not supported to use non-matching versions and there can always be things that break. So combinations like angular: 1.5.8 + angular-aria:1.6.3 are not supported.

Closing as "not a Material issue".

jpumford pushed a commit to DomoApps/advanced-sample-app that referenced this issue Apr 12, 2017
…encies

Using a newer version of angular-aria with angular-material led to an issue documented here:
angular/material#10475
@mtrogers
Copy link

mtrogers commented May 3, 2017

Just a heads up to people who might be smashing their head in with this error: clear your browsing data.

I had consistent versions (angular 1.6.3) across the board, and I was still hitting the errors.
In the browser, on inspecting the angular-aria.js code, it was listing the .info function as looking for kept listing angular "1.6.4"... wtf?

Clearing the browser data and refreshing solved the problem.

Ireisme added a commit to Ireisme/BoardgameTracker that referenced this issue May 9, 2017
Fixing Angular material dependency issues. [Fix detailed here](angular/material#10475)
Ireisme added a commit to Ireisme/BoardgameTracker that referenced this issue May 9, 2017
Fixing Angular material dependency issues. Fix detailed here: angular/material#10475
bpruitt-goddard pushed a commit to Ireisme/BoardgameTracker that referenced this issue May 24, 2017
Fixing Angular material dependency issues. Fix detailed here: angular/material#10475
@p-rogulski
Copy link

@MatthewVita Thanks!

bpruitt-goddard pushed a commit to Ireisme/BoardgameTracker that referenced this issue Jul 4, 2017
Fixing Angular material dependency issues. Fix detailed here: angular/material#10475
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants