Skip to content

TypeError: componentsByName[component.name].push is not a function #940

@alghouliammar1

Description

@alghouliammar1

Bug Description
when I try to get the diagram of my NodeJS file I use the command "npx arkit -f .\code\code.js -o code.svg"
I got this error
orignalcode\node_modules\arkit\dist\generator.js:124
componentsByName[component.name].push(component);
^

TypeError: componentsByName[component.name].push is not a function

can anyone help me please to get over this error?

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions