Skip to content

fresh install - nothing's rendered on native #54

Open
@grreeenn

Description

@grreeenn

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.

Activity

kubilaycaglayan

kubilaycaglayan commented on Apr 16, 2021

@kubilaycaglayan

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

grreeenn commented on Apr 18, 2021

@grreeenn
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @grreeenn@kubilaycaglayan

        Issue actions

          fresh install - nothing's rendered on native · Issue #54 · nativescript-vue/vue-cli-plugin-nativescript-vue