Skip to content
This repository has been archived by the owner on Mar 26, 2018. It is now read-only.

Throw an error to element name without dash #277

Open
motss opened this issue May 11, 2016 · 4 comments
Open

Throw an error to element name without dash #277

motss opened this issue May 11, 2016 · 4 comments

Comments

@motss
Copy link

motss commented May 11, 2016

Does element name need to have dash in between?

Running yo polymer:seed element-name will create a seed element and install the Bower dependencies.

However, running yo polymer:seed elementname and after a while thing stops running and nothing shows up. If a dash is required in the element's name, the error should be thrown to let the user know what happened and what's wrong and should be corrected so that they don't stare at the screen for quite a moment and have no idea what's going on. 😄

@motss motss changed the title Throw error to element name without dash Throw an error to element name without dash May 11, 2016
@moderndeveloperllc
Copy link
Contributor

According to the specification, yes, you need a dash for all custom elements.

@robdodson
Copy link
Contributor

Hm, I immediately get an error when I type yo polymer:seed foo

screen shot 2016-05-11 at 10 28 42 am

Are others not seeing that?

@motss
Copy link
Author

motss commented May 11, 2016

Running generator-polymer 1.2.10 on Windows 10 and not seeing the error.

@robdodson
Copy link
Contributor

Can you also tell me which version of node you're using?

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

No branches or pull requests

3 participants