Skip to content
This repository has been archived by the owner on Jul 8, 2020. It is now read-only.

bower: invalid meta, name #353

Closed
gruppjo opened this issue Apr 14, 2016 · 4 comments
Closed

bower: invalid meta, name #353

gruppjo opened this issue Apr 14, 2016 · 4 comments

Comments

@gruppjo
Copy link
Contributor

gruppjo commented Apr 14, 2016

With the latest version of bower 1.7.9 the bower.json of the demo might produce this error.

bower invalid-meta  The "name" is recommended to be lowercase, can contain digits, dots, dashes

Ensure valid meta name by adhering to guidelines.

@nod
Copy link

nod commented Apr 19, 2016

Any workarounds for this discovered?

@gruppjo
Copy link
Contributor Author

gruppjo commented Apr 19, 2016

open your bower.json and change the "name" property to be all lowercase and without spaces:
So this:

"name": "My Project",

Should be turned into

"name": "my-project",

Or something of the sort.

I will update the generator later to automatically generate a compatible name.

Please not that when you run bower install this error might also be thrown by some of the bower packages you use.

@nod
Copy link

nod commented Apr 19, 2016

Thanks! This seems to have fixed it.

@gruppjo
Copy link
Contributor Author

gruppjo commented Apr 19, 2016

@nod. Good :) This will be default in the next version of the generator

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants