bower: Bower update return me invalid-meta The "name" is recommended to be lowercase, can contain digits, dots, dashes
I’ve tried to remove my installed last package that make my bower like that. But still no luck.
Looks like when I’m install my last package it I mistakenly paste an tab character:
bower install <space #tab> angular-input-stars-directive
Now every time I bower update it always return me this error even on my other project:
bower invalid-meta The "name" is recommended to be lowercase, can contain digits, dots, dashes
I’ve tried bower cache clean and reinstall the bower but still no luck.
Is there anyway can fix this?
Thanks
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Reactions: 1
- Comments: 21 (2 by maintainers)
Commits related to this issue
- Changed package name Issue #15 https://github.com/bower/bower/issues/2242 — committed to vladimirnani/ngScrollTo by vladimirnani 8 years ago
renaming bower.json name without space solve the problem.
maybe remove bower_components?
TRY THIS bower install --verbose --force
This is just warning from bower. open your bower.json file and rename the “name” tag to get rid of this. It is recommended to have lowercase and digit. Special characters allowed are dot and dash.
@slavikgreen It can’t have and capitalization anymore…
Leaving some feedbacks for others encountering this bug.
Updating from
1.7.2 -> 1.7.9and having my package namedmadhouse/messengerhosted in a private (bitbucket).I was unable to run
bower installanymore. Bower was just printing this warning and just exits right after that:As suggested above, clearing the
bower_components/folder fixed it. 😃