Error when publishing to storybook
Hi there!
Here its the details:
- Code Connect CLI version 1.1.3
- Operating system macOs
- Code Connect file, Figma design and/or relevant code snippet that could help us get more context
{ "codeConnect": { "parser": "react", "include": ["src/**"], "exclude": ["docs", "pages"], "importPaths": { "src/components/*": "@ui/component*" }, "paths": { "@ui/*": "src/*" } } }
Storybook Meta
const meta: Meta<typeof Checkbox> = { component: Checkbox, parameters:{xxxx}, };
When running connect publish, it will throw this error
ParserError Error parsing story /Users/xx/src/components/Checkbox/tests/Checkbox.stories.tsx: undefined: Unexpected shape of property parameters, got node type: CallExpression -> /Users/xx/src/components/Checkbox/tests/Checkbox.stories.tsx:11:14
the error states in the error msg its pointing to component: Checkbox,
May I know are there any ideas regarding this?
Hi @HJZzzzz , can you share the story file please? If you prefer, it can be shared via customer support
sure~ i shared screenshots via the link