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

Error: InvalidCharacterError while building for android #339

Open
retr0cube opened this issue May 23, 2023 · 6 comments
Open

Error: InvalidCharacterError while building for android #339

retr0cube opened this issue May 23, 2023 · 6 comments

Comments

@retr0cube
Copy link

retr0cube commented May 23, 2023

Hi!
I just started using Svelte Native. First the install process was full of dependency deprecation warnings, Second when I run tns/ns preview I get the following error:

image
Install process:
image
In my opinion this is bad DX; SO How can I solve this?

@vallemar
Copy link

@retr0cube can you share your home.svelte component. For warning this is a work in progress and update will be released soon NativeScript/nativescript-cli#5722

@retr0cube
Copy link
Author

retr0cube commented May 31, 2023

@retr0cube can you share your home.svelte component. For warning this is a work in progress and update will be released soon NativeScript/nativescript-cli#5722

Hi @vallemar ! It's untouched, like you provided when i follow the instructions.
I don't have access to my pc as of now, if you need it i will share it tomorrow.
Can you reproduce this error? Because i saw similar errors from different posts and I can't seem to find the cause/solution to it.

Sidenote: I also tried checking this component and found no irregular character at the specific line mentioned in the error

@vallemar
Copy link

vallemar commented May 31, 2023

@retr0cube Now that I see the path of your project I think that's the problem, you have emoji. svelte-loader is throwing the character error exception and I think it refers to that. I would try it in a more normal path

@retr0cube
Copy link
Author

@retr0cube Now that I see the path of your project I think that's the problem, you have emoji and . svelte-loaderis throwing the character error exception and I think it refers to that. I would try it in a morenormal` path

Could you please test that? I don't have access to my pc.

@vallemar
Copy link

@retr0cube sorry i'm on mobile but i'm pretty sure that could be the cause

@retr0cube
Copy link
Author

retr0cube commented May 31, 2023

@vallemar would test that on codespaces and see if it's the case

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

2 participants