Open grreeenn opened 3 years ago
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
.
Zed's dead baby, Zed's dead (c)
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 theApp.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.