Open SamuelKlein opened 7 years ago
That's odd, because we set it as a dependency here: https://github.com/ionic-team/ionic-cli/blob/master/packages/%40ionic/cli-utils/package.json#L40
Perhaps npm slipped up. Could you try reinstalling the CLI (after uninstalling @ionic/discover
)?
the error occurs when I am running the ionic serve
the solution npm install --save @ionic/discover
I understand. But your solution will add that as a dependency of your project, which may be undesirable. An alternative solution would be to try re-installing the Ionic CLI.
had this same error too but ionic doctor check
solved it for me
I just updated from cli 2.2.1 to latest (3.20.0) and now when i do ionic info i get same error:
[WARN] Error with .\www\lib\ionic\version.json file: FILE_NOT_FOUND, trying .\bower.json.
i ran ionic doctor check and it says everything is ok
@liquidcms That's just a warning, not an error. With Ionic 1 projects the CLI is expecting a bower.json
file. It's looking for the version of the framework, but it was able to find it elsewhere.
Description: the update ionic to 3.15.1 show erro;
Output:
My
ionic info
:Other Information:
Solution:
npm install --save @ionic/discover