-
Notifications
You must be signed in to change notification settings - Fork 12k
ng new game-2d
fails
#13885
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi, the issue here is the number as html selectors should not contain digits. Seeing specs here: https://html.spec.whatwg.org/multipage/custom-elements.html#valid-custom-element-name |
Perhaps I misreading but the spec to which you point reads as below, where
PCENChar can contain any character in the range [0-9]:
name must match the PotentialCustomElementName
<https://html.spec.whatwg.org/multipage/custom-elements.html#prod-potentialcustomelementname>
production:
PotentialCustomElementName ::=[a-z] (PCENChar
<https://html.spec.whatwg.org/multipage/custom-elements.html#prod-pcenchar>)*
'-' (PCENChar
<https://html.spec.whatwg.org/multipage/custom-elements.html#prod-pcenchar>
)*PCENChar ::="-" | "." | [0-9] | "_" | [a-z] | #xB7 | [#xC0-#xD6] |
[#xD8-#xF6] | [#xF8-#x37D] | [#x37F-#x1FFF] | [#x200C-#x200D] |
[#x203F-#x2040] | [#x2070-#x218F] | [#x2C00-#x2FEF] | [#x3001-#xD7FF] |
[#xF900-#xFDCF] | [#xFDF0-#xFFFD] | [#x10000-#xEFFFF]
…On Tue, 12 Mar 2019 at 08:49, Alan Agius ***@***.***> wrote:
Closed #13885 <#13885>.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#13885 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAfTMAJYj26-RBEgiueKCNIblXlqZsUjks5vV1wHgaJpZM4bqPB7>
.
|
Should I create a new issue with reference to the specs, or have I misunderstood? |
Re-opened as your clarification seems corrent. Thank you. |
Hi again, actually, this was fixed in this #13837 See this spec https://github.com/angular/angular-cli/pull/13837/files#diff-867e0bcfb9109ac41d6c72f11fc039a0R46 This will be available in the next beta (v8.0.0-beta.6). Thanks |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
🐞 Bug report
Command (mark with an
x
)Is this a regression?
?
Description
Apparently can't create a new project with a hyphen in the name.
🔬 Minimal Reproduction
ng new game-2d
🔥 Exception or Error
As above:
🌍 Your Environment
The text was updated successfully, but these errors were encountered: