docs(tutorial/steps-11&12): add warning about bower conflict error

See: https://github.com/angular/angular-phonecat/issues/163#issuecomment-55181854
This commit is contained in:
Peter Bacon Darwin
2014-09-10 22:52:32 +01:00
parent 50cd3a4210
commit 6fd048a3b7
2 changed files with 16 additions and 2 deletions

View File

@@ -49,8 +49,15 @@ and install this dependency. We can do this by running:
npm install
```
<div class="alert alert-warning">
**Warning:** If a new version of Angular has been released since you last ran `npm install`, then you may have a
problem with the `bower install` due to a conflict between the versions of angular.js that need to
be installed. If you get this then simply delete your `app/bower_components` folder before running
`npm install`.
</div>
<div class="alert alert-info">
If you have bower installed globally then you can run `bower install` but for this project we have
**Note:** If you have bower installed globally then you can run `bower install` but for this project we have
preconfigured `npm install` to run bower for us.
</div>

View File

@@ -59,8 +59,15 @@ We must ask bower to download and install this dependency. We can do this by run
npm install
```
<div class="alert alert-warning">
**Warning:** If a new version of Angular has been released since you last ran `npm install`, then you may have a
problem with the `bower install` due to a conflict between the versions of angular.js that need to
be installed. If you get this then simply delete your `app/bower_components` folder before running
`npm install`.
</div>
<div class="alert alert-info">
If you have bower installed globally then you can run `bower install` but for this project we have
**Note:** If you have bower installed globally then you can run `bower install` but for this project we have
preconfigured `npm install` to run bower for us.
</div>