BuilderIO/mitosis

"Could not replace node." added in vue-component

Farnsi opened this issue · 1 comments

I am interested in helping provide a fix!

Yes

Which generators are impacted?

  • All
  • Angular
  • HTML
  • Preact
  • Qwik
  • React
  • React-Native
  • Solid
  • Stencil
  • Svelte
  • Vue
  • Web components

Reproduction case

KYDwDg9gTgLgBAE2AMwIYFcA29noHYDGMAlhHnALICeAQujDGQBRhQRgDOAlHAN4BQcOFGAx0Uck0FC4AHgTEAbnAKZUHDgDlUAW2ABeXnFbsOAOlbEdqKFTgB

Expected Behaviour

Generated vue with:

<template>...

Actual Behaviour

It adds this in the header of the file:

Could not replace node.
<template>...

Additional Information

I can't reproduce it on mitosis.builder.io, only local, when transformed to vue, all other transformer work.

mitosis.builder.io wrote some console.log errors, but creates the file without the text.

What command are you running, and with what configuration locally that reproduces this issue?