flexn-io / renative

🚀🚀🚀 Unified Development Platform for iOS, tvOS, Android, Android TV, Android Wear, Web, Tizen TV, Tizen Watch, Tizen Mobile, LG webOS, macOS/OSX, Windows, KaiOS, FirefoxOS Firefox TV platforms
https://renative.org
MIT License
1.82k stars 180 forks source link

[kaios] no information about build location #1585

Closed GabrieleKaceviciute closed 3 months ago

GabrieleKaceviciute commented 5 months ago

Describe the bug Build is generated but is no info about build location on CLI

To Reproduce

  1. Go to template-starter or app-harness packages
  2. Do npx rnv build -p kaios -> observe

Screenshots or copy&paste

~/Desktop/qa/renative/packages/template-starter$ npx rnv build -p kaios

┌─────────────────────────────────────────────────────────────────┐
│ ██████╗ ███████╗███╗   ██╗ █████╗ ████████╗██╗██╗   ██╗███████╗ │
│ ██╔══██╗██╔════╝████╗  ██║██╔══██╗╚══██╔══╝██║██║   ██║██╔════╝ │
│ ██████╔╝█████╗  ██╔██╗ ██║███████║   ██║   ██║██║   ██║█████╗   │
│ ██╔══██╗██╔══╝  ██║╚██╗██║██╔══██║   ██║   ██║╚██╗ ██╔╝██╔══╝   │
│ ██║  ██║███████╗██║ ╚████║██║  ██║   ██║   ██║ ╚████╔╝ ███████╗ │
│ ╚═╝  ╚═╝╚══════╝╚═╝  ╚═══╝╚═╝  ╚═╝   ╚═╝   ╚═╝  ╚═══╝  ╚══════╝ │
│ $ rnv build -p kaios                                            │
└─────────────────────────────────────────────────────────────────┘
info: Current engine: @rnv/engine-rn-web (./node_modules/@rnv/engine-rn-web)
task: ○ build ↺1
task: ○ configure ↺1
task: ○ platform configure ↺1
task: ○ project configure ↺1
task: ○ workspace configure ↺1
task: ✔ workspace configure
task: ○ app configure ↺1
info: Current app config: template
task: ✔ app configure
info: ../../node_modules/@react-native-community/cli-platform-ios/build/tools/listIOSDevices.js overriden by: /@rnv/config-templates/pluginTemplates/@react-native-community/cli-platform-ios/overrides@11.3.7.json
info: ../../node_modules/@react-native-community/cli/build/bin.js overriden by: /@rnv/config-templates/pluginTemplates/@react-native-community/cli/overrides.json
info: ../../node_modules/react-native-tvos/Libraries/Components/ScrollView/ScrollViewNativeComponent.js overriden by: /@rnv/config-templates/pluginTemplates/react-native-tvos/overrides.json
info: ../../node_modules/react-native-tvos/Libraries/Components/ScrollView/ScrollViewNativeComponent.js overriden by: /@rnv/config-templates/pluginTemplates/react-native-tvos/overrides.json
info: ../../node_modules/react-native-tvos/Libraries/Components/ScrollView/ScrollViewNativeComponent.js overriden by: /@rnv/config-templates/pluginTemplates/react-native-tvos/overrides.json
task: ✔ project configure
info: Current Build Scheme: debug
task: ✔ platform configure
warn: ○ configure: AssetSources is specified as {{resolvePackage(@flexn/assets-renative-outline)}}/assets. But path ../../node_modules/@flexn/assets-renative-outline/assets/kaios was not found.
warn: ○ configure: Your app is missing assets at ./appConfigs/base,./appConfigs/template.
task: ✔ configure
info: File sizes after gzip:

  181.65 kB  build/static/js/main.8addf4af.js
The project was built assuming it is hosted at ./.
You can control this with the homepage field in your package.json.

The platformBuilds/template_kaios/build folder is ready to be deployed.

Find out more about deployment here:

  https://cra.link/deployment

task: ✔ build
┌─────────────────────────────────────────────────────────────────┐
│ ⚠ SUMMARY | 5/29/2024, 11:16:23 AM | rnv@                       │
│ $ rnv build -p kaios                                            │
├─────────────────────────────────────────────────────────────────┤
│ Project: @rnv/template-starter@1.0.0-rc.19                      │
│ Workspace: rnv                                                  │
│ Platform (-p): kaios                                            │
│ Engine: @rnv/engine-rn-web                                      │
│ App Config (-c): template                                       │
│ Build Scheme (-s): debug                                        │
│ Target (-t): kaiosrt-v2.5.en-US.linux-x86_64                    │
│ Supported Platforms: ios, android, androidtv, firetv, androidwear, web, tizen, tvos, webos, macos, windows, tizenwatch, kaios, chromecast, linux, windows
│ Env Info: linux | x64 | node v18.20.2                           │
│ Executed Time: 0h:0m:19s:630ms                                  │
│ warn: ○ configure: AssetSources is specified as {{resolvePackage(@flexn/assets-renative-outline)}}/assets. But path ../../node_modules/@flexn/assets-renative-outline/assets/kaios was not found.
│ warn: ○ configure: Your app is missing assets at ./appConfigs/base,./appConfigs/template.
│ You are trying to run global rnv command in your current project.
│ This might lead to unexpected behaviour.
│ Run your rnv command with npx prefix:
│ npx rnv build -p kaios
│ Project location: ./platformBuilds/template_kaios               │
└─────────────────────────────────────────────────────────────────┘

Desktop (please complete the following information):

Additional context e.g. npx rnv build -p androidwear get -> │ info: ✔ Your APK is located in ./platformBuilds/harness_androidwear/app/build/outputs/apk/debug .

┌─────────────────────────────────────────────────────────────────┐
│ ✔ SUMMARY | 5/29/2024, 12:25:34 PM | rnv@                       │
│ $ rnv build -p androidwear                                      │
├─────────────────────────────────────────────────────────────────┤
│ Project: @rnv/app-harness@1.0.0-rc.19                           │
│ Workspace: rnv                                                  │
│ Platform (-p): androidwear                                      │
│ Engine: @rnv/engine-rn                                          │
│ Template: @rnv/template-starter                                 │
│ App Config (-c): harness                                        │
│ Build Scheme (-s): debug                                        │
│ Target (-t): Wear_OS_Square_API_30                              │
│ Supported Platforms: ios, android, androidtv, firetv, androidwear, web, tizen, tvos, webos, macos, windows, tizenwatch, kaios, chromecast, linux, windows
│ Env Info: linux | x64 | node v18.20.2                           │
│ Executed Time: 0h:1m:42s:93ms                                   │
│ info: ✔ Your APK is located in ./platformBuilds/harness_androidwear/app/build/outputs/apk/debug .
│ You are trying to run global rnv command in your current project.
│ This might lead to unexpected behaviour.
│ Run your rnv command with npx prefix:
│ npx rnv build -p androidwear
│ Project location: ./platformBuilds/harness_androidwear          │
└─────────────────────────────────────────────────────────────────┘
testlab-ubuntu@testlabubuntu-KBL-U-Pro-Cubi-3-Silent-S-MS-B159:~/Desktop/qa/renative/packages/app-harness$
GabrieleKaceviciute commented 3 months ago

can't reproduce it on 1.0.0-rc.21