CVarisco / create-component-app

Tool to generate different types of React components from the terminal. 💻
MIT License
859 stars 58 forks source link

[Error] Cannot convert undefined or null to object #62

Closed kisnows closed 6 years ago

kisnows commented 6 years ago

If I use a template , it's work well, but if I don't use a template, it will raise an error

$ create-component-app
[Info] No config file detected, using defaults.
? Do you wanna choose a template No
? What kind of components do you want to create ? stateless
? What is the name of the component ? ComponentName
? Do you want to connect the component to redux ? No
? Do you want an index file on your folder ? No
? What kind of extension do you use for js files ? js
? What kind of extension do you use for style file ? css
? Do you want a storybook file? Yes
? Do you want a test file? Yes
? Where do you want create your component ? ./src/components
[Error] Cannot convert undefined or null to object

The node verison:

$ node -v
v8.9.0
CVarisco commented 6 years ago

Hi @kisnows,

I'm really sorry about the issue. It is already fixed, I'll publish a new version of the library asap.

Sorry for that and thank you for the issue 💯