I tracked back the changes, and this error happens when I try to upgrade ionic : ionic lib update
.
It's really weird because before upgrading like this, I get the following :
$ ionic info
Your system information:
Cordova CLI: 5.3.3
Gulp version: CLI version 3.9.0
Gulp local: Local version 3.9.0
Ionic Version: 1.1.0
Ionic CLI Version: 1.7.7
Ionic App Lib Version: 0.6.3
OS: Distributor ID: Ubuntu Description: Ubuntu 14.04.3 LTS
Node Version: v0.12.7
but in the file www/libe/ionic/js/ionic.bundle.min.js (which I call in my index.html), there is :
/*!
* Copyright 2014 Drifty Co.
* http://drifty.com/
*
* Ionic, v1.0.0-beta.13
* A powerful HTML5 mobile app framework.
I think it's a big mess because there is also this directory www/lib/ionic/release/js/ where ionic.bundle.min.js is to version 1.1.0.
Can you help me clarify this please ?
About what you said, I understand what to put in my bower.json, I mean I don't which version of the package should I use. Isn't there a package manager that can manage dependencies for me ?