You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Number at beginning of component name is invalid #3177
Was this an app that wasn't created using the CLI? What change did you do on your code? etc.
The app was created with ng-cli. To reproduce:
ng g component 404
The log given by the failure.
Normally this include a stack trace and some more information.
Fails to compile because class name "404Component" is invalid.
Mention any other details that might be useful.
Perhaps in special cases like this an underscore could be prefixed or something similar. Alternatively it could simply be disallowed to start component (or service, etc) names with numbers.
Activity
filipesilva commentedon Nov 22, 2016
This is by design, as custom components should follow this naming scheme: http://stackoverflow.com/questions/30258630/what-are-valid-html5-custom-tags/30260358#30260358
angular-automatic-lock-bot commentedon Sep 6, 2019
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.