Skip to content

[help] Uncaught (in promise) Error: Renderer.MissingLayout: with [] #619

Answered by Myriad-Dreamin
cog25 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, I explore it a bit and find it might be broken to set data and render at the same time. So you may render svg with code change:

+ kModule.manipulateData({
+     data: result,
+ });
return renderer.renderSvg({
-   artifactContent: result,
    format: "vector",
    renderSession: kModule,
})

Note you'll finally have to make such change because it only cache things in a single render session otherwise it will be very inefficient.

You may send an issue and I'll fix it later.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@cog25
Comment options

@Myriad-Dreamin
Comment options

Answer selected by cog25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants