Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 of 12 tasks
Farnsi opened this issue Nov 29, 2023 · 1 comment
Open
1 of 12 tasks

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

Farnsi opened this issue Nov 29, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@Farnsi
Copy link

Farnsi commented Nov 29, 2023

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.

@Farnsi Farnsi added the bug Something isn't working label Nov 29, 2023
@samijaber
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants