versatile-dashboard-theme icon indicating copy to clipboard operation
versatile-dashboard-theme copied to clipboard

Angular version incompatibilities

Open rajputav opened this issue 10 years ago • 6 comments

On a simple clone of the repository, upon running bower install, I get the following message to the console:

"bower resolution Unsuitable resolution declared for angular: 1.3.14

Unable to find a suitable version for angular, please choose one: 1) angular#~1.2 which resolved to 1.2.28 and is required by angular-snap#1.8.3 2) angular#1.3.17 which resolved to 1.3.17 and is required by angular-animate#1.3.17, angular-mocks#1.3.17 3) angular#^1.3.0 which resolved to 1.4.3 and is required by yapp 4) angular#>= 1.0.8 which resolved to 1.4.3 and is required by ui-router#0.2.15"

To resolve this, I selected option 2. Options 3 and 4 lead to the following unresolved dependency error in the browser console upon attempt to run the project:

"Uncaught Error: [$injector:unpr] Unknown provider: $$asyncCallbackProvider <- $$asyncCallback <- $animate <- $compile http://errors.angularjs.org/1.4.3/$injector/unpr?p0=%24%24asyncCallbackProvider%20%3C-%20%24%24asyncCallback%20%3C-%20%24animate%20%3C-%20%24compile "

rajputav avatar Jul 22 '15 20:07 rajputav

You need to select the one suggested by yapp which is option 3.

Sent from Outlook

On Wed, Jul 22, 2015 at 1:03 PM -0700, "Avinash Rajput" [email protected] wrote:

On a simple clone of the repository, upon running bower install, I get the following message to the console:

"bower resolution Unsuitable resolution declared for angular: 1.3.14

Unable to find a suitable version for angular, please choose one:

1) angular#~1.2 which resolved to 1.2.28 and is required by angular-snap#1.8.3

2) angular#1.3.17 which resolved to 1.3.17 and is required by angular-animate#1.3.17, angular-mocks#1.3.17

3) angular#^1.3.0 which resolved to 1.4.3 and is required by yapp

4) angular#>= 1.0.8 which resolved to 1.4.3 and is required by ui-router#0.2.15"

To resolve this, I selected option 2. Options 3 and 4 lead to the following unresolved dependency error in the browser console upon attempt to run the program:

"Uncaught Error: [$injector:unpr] Unknown provider: $$asyncCallbackProvider <- $$asyncCallback <- $animate <- $compile

http://errors.angularjs.org/1.4.3/$injector/unpr?p0=%24%24asyncCallbackProvider%20%3C-%20%24%24asyncCallback%20%3C-%20%24animate%20%3C-%20%24compile "

— Reply to this email directly or view it on GitHub.

sanketsahu avatar Jul 23 '15 04:07 sanketsahu

If it doesn't solve the the problem. I'll fix it and let you know.

Sent from Outlook

On Wed, Jul 22, 2015 at 1:03 PM -0700, "Avinash Rajput" [email protected] wrote:

On a simple clone of the repository, upon running bower install, I get the following message to the console:

"bower resolution Unsuitable resolution declared for angular: 1.3.14

Unable to find a suitable version for angular, please choose one:

1) angular#~1.2 which resolved to 1.2.28 and is required by angular-snap#1.8.3

2) angular#1.3.17 which resolved to 1.3.17 and is required by angular-animate#1.3.17, angular-mocks#1.3.17

3) angular#^1.3.0 which resolved to 1.4.3 and is required by yapp

4) angular#>= 1.0.8 which resolved to 1.4.3 and is required by ui-router#0.2.15"

To resolve this, I selected option 2. Options 3 and 4 lead to the following unresolved dependency error in the browser console upon attempt to run the program:

"Uncaught Error: [$injector:unpr] Unknown provider: $$asyncCallbackProvider <- $$asyncCallback <- $animate <- $compile

http://errors.angularjs.org/1.4.3/$injector/unpr?p0=%24%24asyncCallbackProvider%20%3C-%20%24%24asyncCallback%20%3C-%20%24animate%20%3C-%20%24compile "

— Reply to this email directly or view it on GitHub.

sanketsahu avatar Jul 23 '15 04:07 sanketsahu

I tried options 3 and 4 and they led to the demo running incorrectly with the above message. However, the demo worked correctly when I selected option 2.

On Wed, Jul 22, 2015 at 9:26 PM, Kumar Sanket (aka Sanket Sahu) < [email protected]> wrote:

If it doesn't solve the the problem. I'll fix it and let you know.

Sent from Outlook

On Wed, Jul 22, 2015 at 1:03 PM -0700, "Avinash Rajput" < [email protected]> wrote:

On a simple clone of the repository, upon running bower install, I get the following message to the console:

"bower resolution Unsuitable resolution declared for angular: 1.3.14

Unable to find a suitable version for angular, please choose one:

  1. angular#~1.2 which resolved to 1.2.28 and is required by angular-snap#1.8.3

  2. angular#1.3.17 which resolved to 1.3.17 and is required by angular-animate#1.3.17, angular-mocks#1.3.17

  3. angular#^1.3.0 which resolved to 1.4.3 and is required by yapp

  4. angular#>= 1.0.8 which resolved to 1.4.3 and is required by ui-router#0.2.15"

To resolve this, I selected option 2. Options 3 and 4 lead to the following unresolved dependency error in the browser console upon attempt to run the program:

"Uncaught Error: [$injector:unpr] Unknown provider: $$asyncCallbackProvider <- $$asyncCallback <- $animate <- $compile

http://errors.angularjs.org/1.4.3/$injector/unpr?p0=%24%24asyncCallbackProvider%20%3C-%20%24%24asyncCallback%20%3C-%20%24animate%20%3C-%20%24compile "

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub https://github.com/start-angular/versatile-dashboard-theme/issues/1#issuecomment-123959831 .

rajputav avatar Jul 23 '15 04:07 rajputav

@sankhadeeproy007 We need to freeze the version of Angular here. That's causing the problem.

sanketsahu avatar Jul 23 '15 06:07 sanketsahu

@sanketsahusoft any plans to maintain this template? I went through to get it to work today and it seems one should freeze the deps and/or update to more recent versions.

I can make a PR for my findings/fixes if you maintain this still. Let me know.

murrekatt avatar May 10 '17 13:05 murrekatt

@murrekatt The technologies have changed since we started this project and Angular 1.x is nearing it's end. If you still want to send pull-request. I would be happy to merge it.

sanketsahu avatar May 11 '17 05:05 sanketsahu