Skip to content

No config file detected #79

@s10wen

Description

@s10wen

Hi, great project thanks! 👍🏻

I'm having an issue with using the config file. I've created it in the project root and would like to use includeStories:

config.json

{
  "path": "./src/components",
  "includeStories": true
}

When I run create-component-app or create-component-app --config config.json I get the message:

[Info] No config file detected, using defaults.
[Info] Your component is created!

Oddly, if I break the json formatting I get an Error, so it looks to be finding it.

༼ つ ◕_◕ ༽つ⚡ create-component-app --config config.json
[Error] An error occured while parsing your config file. Using defaults...

 JSON Error in /Users/uidesign1/Documents/workspace/nbrown-ui/config.json:
Trailing comma in object at 4:1
}
^
? Do you wanna choose a template (y/N)

Any ideas please?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions