Skip to content

fresh install - nothing's rendered on native #54

New issue

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

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

Already on GitHub? # to your account

Open
grreeenn opened this issue Sep 30, 2020 · 2 comments
Open

fresh install - nothing's rendered on native #54

grreeenn opened this issue Sep 30, 2020 · 2 comments

Comments

@grreeenn
Copy link

Hi,

I just did a fresh install by the plugin guide. Web part is working fine, but when running on Android - I get a blank screen with a package name (the one from package.json) and nothing more.

First of all, there's nothing in the code that I can see that renders the package name.
Second, the things that do need to be rendered - do not. I've added a <Label text="hello" /> inside the <GridLayout /> in the App.vue, but it renders empty (I see an empty <Label></Label> in debugger.

This behavior happens both on the emulator and on a real device (Nokia 6.1, Android One v10). I'm on Linux, so I can't confirm the same for iOS - Preview doesn't render anything at all, only the background (of which, btw, I can change color in app.css).

The sample nativescript-vue project works perfectly.

I'm totally new to {N}, so if there's something foolish and obvious I've missed - please, do tell.
Nativescript version 6.5.1 installed globally, and @vue/cli 4.5.6.

@kubilaycaglayan
Copy link

I am having the same problem with the npm run serve:android

And when I run npm run serve:ios

I am getting this error:
Package subpath './package.json' is not defined by "exports" in /projectpath/node_modules/flatted/package.json.

@grreeenn
Copy link
Author

Zed's dead baby, Zed's dead (c)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Development

No branches or pull requests

2 participants