Reputation: 11
I've just installed Yeoman, along with related dependencies (Karma, Grunt CLI, PhantomJS, Jasmine, etc.)
When running the AngularJS generator, I seem to be getting the following error:
bower EINVALID Failed to read Z:\bower.json
Warning: Error: Cannot find where you keep your Bower packages
Aborted due to warnings.
Some trouble shooting steps would be much appreciated. Thanks in advance for your help!
Upvotes: 1
Views: 478
Reputation: 11
I have got the same error, when used non-latin characteres in the name:
{
"name": "ЙЦЖЩШ",
"description": "",
...
}
Just use only latin characters.
Upvotes: 1
Reputation: 876
It seems to be a bad description in bower.json
properties.
I've tried sudo chown $user:$group
as other user on stackoverflow
suggested.
If every command does not work neither a bower clean or bower install etc.etc., it means that he reads bower.json
but since it's not well formatted
it crashes.
It could help to place or to confront the bower.json
content with this
{
"name": "angular",
"version": "1.5.8",
"license": "MIT",
"main": "./angular.js",
"ignore": [ ],
"dependencies": {
}
}
This is how I Fixed after all suggestions from internet failed.
Best regards
Upvotes: 1