Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error when generating components #13

Open
businistry opened this issue Sep 26, 2023 · 0 comments
Open

error when generating components #13

businistry opened this issue Sep 26, 2023 · 0 comments

Comments

@businistry
Copy link

I cant seem to figure out how to get around this issue: (base) Shnun@todds-mbp react-agent % yarn backend:dev
yarn run v1.22.19
$ yarn workspace @react-agent/backend-main dev
$ ts-node-dev index.ts
[INFO] 11:13:31 ts-node-dev ver. 2.0.0 (using ts-node ver. 10.9.1, typescript ver. 5.0.4)
generateComponents start
generateSkeletonCompositionFromStory: skipping - composition already exists
generateComponentsConfigurations: generating configuration
TypeError: Cannot read properties of undefined (reading 'forEach')
at flatten (/Users/Shnun/react-agent/backend/main/react-agent/utils/helpers.ts:31:26)
at Array.forEach ()
at flatten (/Users/Shnun/react-agent/backend/main/react-agent/utils/helpers.ts:31:26)
at Array.forEach ()
at flattenComponents (/Users/Shnun/react-agent/backend/main/react-agent/utils/helpers.ts:34:26)
at /Users/Shnun/react-agent/backend/main/react-agent/generateComponentsConfigurations.ts:32:43
at Generator.throw ()
at rejected (/Users/Shnun/react-agent/backend/main/react-agent/generateComponentsConfigurations.ts:6:65)
[ERROR] 11:13:33 TypeError: Cannot read properties of undefined (reading 'forEach')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant