denoland / denoland/website_feedback
Better error for add module
- Dominant language
- No language data
- Stars
- 8
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
The [website](https://deno.com/add_module) for creating a module should distinguish between an invalid name error and an existing module error.
Currently, it shows a generic "Invalid Name/Name has been taken!" error.
This is confusing, because it's not clear what's wrong which makes the error not actionable.
Instead, it should show if a name is already taken or if a name is invalid. If not in the error directly, at least the description should mention what makes a name invalid. For example
- uppercase
- hyphen
- ... ?

Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.