Skip to content

Export does not work on 1.46 #2472

@AlbertBrand

Description

@AlbertBrand

Relates to

CLI

Version you are using

1.46

Describe the issue

Export a diagram to PNG is not working. When running the export with

pnpx likec4 export png

I see this output:

...
10:15:11.053 INFO  likec4.vite generating likec4:projects
10:15:11.053 INFO  likec4.vite generating likec4:model
10:15:11.498 INFO  likec4.export export/index/ -> index.png
10:15:26.501 ERROR likec4.export failed export/index/
TimeoutError: page.waitForSelector: Timeout 15000ms exceeded.
Call log:
  - waiting for locator('.react-flow.initialized') to be visible

Workaround:

pnpx [email protected] export png

to switch back to 1.45.

If possible, include link to the playground with example

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions