Skip to content

I’m not sure what the first error means here #2564

@0hmX

Description

@0hmX
Image

Package code to reproduce

Error

Execution Error: Not able to guess root component: RootCircuit has no children (use circuit.add(...)). "entrypoint": "entrypoint.tsx" is set in the runner configuration, entrypoints must contain "circuit.add(...)", you might be looking to use mainComponentPath instead if your file exports a component.
@tscircuit/eval@0.0.606
@tscircuit/core@0.0.988
Error: Not able to guess root component: RootCircuit has no children (use circuit.add(...))
    at RootCircuit._guessRootComponent (blob:http://localhost:3020/642a1a6f-5474-4c56-b220-d55103c961d9:622:117251)
    at RootCircuit.render (blob:http://localhost:3020/642a1a6f-5474-4c56-b220-d55103c961d9:622:117910)
    at RootCircuit.getCircuitJson (blob:http://localhost:3020/642a1a6f-5474-4c56-b220-d55103c961d9:622:118782)
    at Object.getCircuitJson (blob:http://localhost:3020/642a1a6f-5474-4c56-b220-d55103c961d9:885:7481)
    at callback (blob:http://localhost:3020/642a1a6f-5474-4c56-b220-d55103c961d9:348:2989)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions