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

[vite-plugin-top-level-await] Failed to convert rust String into napi string #58

Open
crimson-med opened this issue Aug 29, 2024 · 2 comments

Comments

@crimson-med
Copy link

We are using federation and having an issue on how the code gets transpiled for the MFE.

We do have a working repo with the issue:

https://github.com/paloitsingapore/spreadjs-vite

x Build failed in 43.58s
error during build:
[vite-plugin-top-level-await] Failed to convert rust `String` into napi `string`
Error: Failed to convert rust `String` into napi `string`
Warning: command "vite build" exited with non-zero status code
@asd500asd
Copy link

I also encountered the same problem. It was normal in dev, but this error occurred during build. I haven't found a solution yet.

@Menci
Copy link
Owner

Menci commented Nov 17, 2024

Seems an SWC issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants