-
-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
Issue
Attempt to create a new package with an invalid name (not from params) causes the program to freeze.
Repro steps
- Call
create-react-hookwith no params - When asked for package name include caps on it, for example
myPackageName - Program freezes
Expected
Program should not freeze and print some sort of message
Workaround
The program is freezing on an error because package names should not include caps. Include the name as a param create-react-hook myPackageName and you will see the actual error:
Error: invalid package name "myPackageName"...Additional notes
As I previously said, adding an invalid name from params prints the error. I expect them to behave similarly.
Metadata
Metadata
Assignees
Labels
No labels