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
Attempt to create a new package with an invalid name (not from params) causes the program to freeze.
Repro steps
Call create-react-hook with no params
When asked for package name include caps on it, for example myPackageName
Program would freeze
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.
The text was updated successfully, but these errors were encountered:
Issue
Attempt to create a new package with an invalid name (not from params) causes the program to freeze.
Repro steps
create-react-hook
with no paramsmyPackageName
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.
The text was updated successfully, but these errors were encountered: