Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 6fd048a

Browse files
committedSep 10, 2014
docs(tutorial/steps-11&12): add warning about bower conflict error
See: angular/angular-phonecat#163 (comment)
1 parent 50cd3a4 commit 6fd048a

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed
 

‎docs/content/tutorial/step_11.ngdoc

+8-1
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,15 @@ and install this dependency. We can do this by running:
4949
npm install
5050
```
5151

52+
<div class="alert alert-warning">
53+
**Warning:** If a new version of Angular has been released since you last ran `npm install`, then you may have a
54+
problem with the `bower install` due to a conflict between the versions of angular.js that need to
55+
be installed. If you get this then simply delete your `app/bower_components` folder before running
56+
`npm install`.
57+
</div>
58+
5259
<div class="alert alert-info">
53-
If you have bower installed globally then you can run `bower install` but for this project we have
60+
**Note:** If you have bower installed globally then you can run `bower install` but for this project we have
5461
preconfigured `npm install` to run bower for us.
5562
</div>
5663

‎docs/content/tutorial/step_12.ngdoc

+8-1
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,15 @@ We must ask bower to download and install this dependency. We can do this by run
5959
npm install
6060
```
6161

62+
<div class="alert alert-warning">
63+
**Warning:** If a new version of Angular has been released since you last ran `npm install`, then you may have a
64+
problem with the `bower install` due to a conflict between the versions of angular.js that need to
65+
be installed. If you get this then simply delete your `app/bower_components` folder before running
66+
`npm install`.
67+
</div>
68+
6269
<div class="alert alert-info">
63-
If you have bower installed globally then you can run `bower install` but for this project we have
70+
**Note:** If you have bower installed globally then you can run `bower install` but for this project we have
6471
preconfigured `npm install` to run bower for us.
6572
</div>
6673

0 commit comments

Comments
 (0)
This repository has been archived.