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

Fix webos release run #1402

Merged
3 commits merged into from
Feb 26, 2024
Merged

Fix webos release run #1402

3 commits merged into from
Feb 26, 2024

Conversation

mihaiblaga89
Copy link
Contributor

Description

  • Point webos simulator to correct folder when bundleAssets = true
  • Add required files in said folder in order for the app to run

Related issues

Npm releases

n/a

packages/sdk-webos/src/deviceManager.ts Outdated Show resolved Hide resolved
@mihaiblaga89 mihaiblaga89 self-assigned this Feb 19, 2024
@mihaiblaga89 mihaiblaga89 added this to the 1.0 milestone Feb 19, 2024
Copy link
Collaborator

@pauliusguzas pauliusguzas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

on office tv's both platforms still fail
npx rnv run -p webos -t webOS_TV -s debug - fail, still white blank screen
npx rnv run -p webos -t webOS_TV -s release - fail, still black blank screen
npx rnv run -p tizen -t 192.168.1.28 -r -s debug - fail, still white blank screen
npx rnv run -p tizen -t 192.168.1.28 -r -s release - fail to install

pauliusguzas@MBP-de-Flexn template-starter % npx rnv run -p tizen -t 192.168.1.28 -r -s release

┌──────────────────────────────────────────────────────────────────────────────┐
│                                                                              │
│        ██████╗ ███████╗███╗   ██╗ █████╗ ████████╗██╗██╗   ██╗███████╗       │
│        ██╔══██╗██╔════╝████╗  ██║██╔══██╗╚══██╔══╝██║██║   ██║██╔════╝       │
│        ██████╔╝█████╗  ██╔██╗ ██║███████║   ██║   ██║██║   ██║█████╗         │
│        ██╔══██╗██╔══╝  ██║╚██╗██║██╔══██║   ██║   ██║╚██╗ ██╔╝██╔══╝         │
│        ██║  ██║███████╗██║ ╚████║██║  ██║   ██║   ██║ ╚████╔╝ ███████╗       │
│        ╚═╝  ╚═╝╚══════╝╚═╝  ╚═══╝╚═╝  ╚═╝   ╚═╝   ╚═╝  ╚═══╝  ╚══════╝       │
│                                                                              │
│        Version: 1.0.0-rc.11                                                  │
│        https://renative.org                                                  │
│        🚀 Firing up!...                                                      │
│        $ npx rnv run -p tizen -t 192.168.1.28 -r -s release                  │
│        Start Time: 2/21/2024, 3:32:53 PM                                     │
│                                                                              │
└──────────────────────────────────────────────────────────────────────────────┘

[ task ] registerEngine:engine-core[1]
[ task ] configureRuntimeDefaults[1] appId:undefined
[ task ] checkAndMigrateProject[1]
[ task ] loadPluginTemplates[1]
[ task ] parseRenativeConfigs[1]
[ task ] getWorkspaceDirPath[1]
[ task ] generatePlatformTemplatePaths[1]
[ task ] checkAndBootstrapIfRequired[1]
[ task ] loadIntegrations[1]
[ task ] loadEngines[1]
[ task ] loadEnginePluginDeps[1]
[ task ] loadEnginePackageDeps[1]
[ task ] registerEngine:engine-rn-web[1]
[ task ] findSuitableTask[1]
[ info ] Current Engine: engine-rn-web path: /Users/pauliusguzas/Desktop/renative/renative/packages/engine-rn-web
[ task ] registerMissingPlatformEngines[1]
[ task ] initializeTask[1] run
[ task ] => [run]
[ task ] [run] checkIfProjectAndNodeModulesExists[1]
[ hook ] [run] executePipe ('run:before')
[ hook ] [run] buildHooks Build hooks not complied. BUILDING...
[ task ] [run] taskRnvRun[1] parent:undefined port:NaN target:192.168.1.28 hosted:undefined
[ task ] => [run] => [configure]
[ hook ] [configure] executePipe ('configure:before')
[ task ] [configure] taskRnvConfigure[1]
[ task ] => [configure] => [platform configure]
[ hook ] [platform configure] executePipe ('platform:configure:before')
[ task ] [platform configure] taskRnvPlatformConfigure[1]
[ task ] => [platform configure] => [project configure]
[ hook ] [project configure] executePipe ('project:configure:before')
[ task ] [project configure] taskRnvProjectConfigure[1]
[ task ] [project configure] checkAndMigrateProject[2]
[ task ] [project configure] loadPluginTemplates[2]
[ task ] [project configure] parseRenativeConfigs[2]
[ task ] [project configure] getWorkspaceDirPath[2]
[ task ] [project configure] generatePlatformTemplatePaths[2]
[ task ] => [project configure] => [workspace configure]
[ task ] [workspace configure] taskRnvWorkspaceConfigure[1]
[ task ] <= [project configure] <= workspace configure
[ task ] [project configure] checkIfTemplateConfigured[1]
[ task ] => [project configure] => [install]
[ hook ] [install] executePipe ('install:before')
[ task ] [install] taskRnvInstall[1] requiresInstall:false:true
[ hook ] [install] executePipe ('install:after')
[ task ] <= [project configure] <= install
[ task ] [project configure] checkCrypto[1]
[ task ] [project configure] configureRuntimeDefaults[2] appId:template
[ task ] [project configure] applyTemplate[1] @rnv/template-starter=>undefined
[ task ] [project configure] configureRuntimeDefaults[3] appId:template
[ task ] => [project configure] => [install]
[ hook ] [install] executePipe ('install:before')
[ task ] [install] taskRnvInstall[2] requiresInstall:false:true
[ hook ] [install] executePipe ('install:after')
[ task ] <= [project configure] <= install
[ task ] => [project configure] => [app configure]
[ hook ] [app configure] executePipe ('app:configure:before')
[ task ] [app configure] taskRnvAppConfigure[1]
[ task ] [app configure] listAppConfigsFoldersSync[1] ignoreHiddenConfigs:true
[ task ] [app configure] loadPluginTemplates[3]
[ task ] [app configure] parseRenativeConfigs[3]
[ task ] [app configure] generateBuildConfig[1] size:195.49 KB
[ task ] [app configure] getWorkspaceDirPath[3]
[ task ] [app configure] generateBuildConfig[2] size:195.49 KB
[ task ] [app configure] generateBuildConfig[3] size:195.49 KB
[ task ] [app configure] generateBuildConfig[4] size:195.49 KB
[ task ] [app configure] generatePlatformTemplatePaths[3]
[ task ] [app configure] generateBuildConfig[5] size:209.02 KB
[ task ] [app configure] generateBuildConfig[6] size:209.02 KB
[ task ] [app configure] getWorkspaceDirPath[4]
[ task ] [app configure] generateBuildConfig[7] size:209.02 KB
[ task ] [app configure] generateLocalConfig[1] resetAppId:false
[ task ] [app configure] generateBuildConfig[8] size:209.02 KB
[ info ] [app configure] Current App Config: template
[ hook ] [app configure] executePipe ('app:configure:after')
[ task ] <= [project configure] <= app configure
[ task ] [project configure] versionCheck[1]
[ task ] [project configure] versionCheck:rnvRunner:1.0.0-rc.11,rnvProject:1.0.0-rc.11[1]
[ task ] [project configure] configureEngines[1]
[ task ] [project configure] resolvePluginDependants[1]
[ task ] [project configure] configurePlugins[1]
[ task ] [project configure] configureRuntimeDefaults[4] appId:template
[ task ] [project configure] copyRuntimeAssets[1]
[ task ] [project configure] configureTemplateFiles[1]
[ task ] [project configure] checkAndCreateGitignore[1]
[ task ] [project configure] generateRuntimeConfig[1]
[ task ] [project configure] overrideTemplatePlugins[1]
[ task ] [project configure] parsePlugins[1]
[ info ] [project configure] Plugin overrides disabled for: react-native-gesture-handler with disablePluginTemplateOverrides. SKIPPING
[ info ] [project configure] /@react-native-community/cli-platform-ios/build/tools/listIOSDevices.js overriden by: /Users/pauliusguzas/Desktop/renative/renative/packages/rnv/pluginTemplates/@react-native-community/cli-platform-ios/overrides@11.3.7.json
[ info ] [project configure] Plugin overrides disabled for: next with disablePluginTemplateOverrides. SKIPPING
[ task ] [project configure] parseFonts[1]
[ task ] [project configure] parsePlugins[2]
[ hook ] [project configure] executePipe ('project:configure:after')
[ task ] <= [platform configure] <= project configure
[ task ] [platform configure] isPlatformSupported[1]
[ task ] [platform configure] isBuildSchemeSupported[1]
[ info ] [platform configure] Current Build Scheme: release
[ task ] [platform configure] checkAndConfigureSdks[1]
[ task ] [platform configure] checkAndConfigureTizenSdks:tizen[1]
[ task ] [platform configure] checkSdk[1]
[ task ] [platform configure] checkTizenSdk[1]
[ task ] [platform configure] _isSdkInstalled[1]
[ task ] [platform configure] configureRuntimeDefaults[5] appId:template
[ task ] => [platform configure] => [install]
[ hook ] [install] executePipe ('install:before')
[ task ] [install] taskRnvInstall[3] requiresInstall:false:true
[ hook ] [install] executePipe ('install:after')
[ task ] <= [platform configure] <= install
[ task ] [platform configure] [1] taskRnvPlatformConfigure hasBuildFolderPresent:true
[ info ] [platform configure] You passed -r argument. "./platformBuilds/template_tizen" CLEANING...DONE
[ task ] [platform configure] cleanPlatformBuild[1]
[ task ] [platform configure] createPlatformBuild[1]
[ task ] [platform configure] injectPlatformDependencies[1]
[ hook ] [platform configure] executePipe ('platform:configure:after')
[ task ] <= [configure] <= platform configure
[ task ] [configure] configureEntryPoint[1]
[ task ] [configure] copySharedPlatforms[1]
[ task ] [configure] configureTizenProject[1]
[ task ] [configure] configureTizenGlobal[1]
✔ Executing: /Users/pauliusguzas/tizen-studio/tools/ide/bin/tizen security-profiles list -n RNVanillaCert
[ task ] [configure] copyAssetsFolder[1]
[ info ] [configure] Found custom assetSources at /Users/pauliusguzas/Desktop/renative/renative/node_modules/@flexn/assets-renative-outline/assets/tizen. Will be used to generate assets.
[ task ] [configure] configureCoreWebProject[1]
[ task ] [configure] _configureProject[1]
[ task ] [configure] copyBuildsFolder[1]
[ task ] [configure] copyTemplatePluginsSync[1] (./platformBuilds/template_tizen)
[ task ] [configure] parsePlugins[3]
[ hook ] [configure] executePipe ('configure:after')
[ task ] <= [run] <= configure
[ task ] [run] _configureHostedIfRequired[1]
[ task ] [run] runTizen[1] target:192.168.1.28
[ task ] [run] runTizen[2] target:192.168.1.28 hosted:false
[ task ] [run] buildCoreWebpackProject[1]
[ task ] [run] parsePlugins[4]
[ info ] [run] File sizes after gzip:

  143.04 kB  build/static/js/main.52137f64.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_tizen/build folder is ready to be deployed.

Find out more about deployment here:

  https://cra.link/deployment

✔ Executing: /Users/pauliusguzas/tizen-studio/tools/sdb devices
✔ Executing: /Users/pauliusguzas/tizen-studio/tools/sdb devices
[ task ] [run] buildCoreWebpackProject[2]
[ task ] [run] parsePlugins[5]
[ info ] [run] File sizes after gzip:

  143.04 kB  build/static/js/main.52137f64.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_tizen/build folder is ready to be deployed.

Find out more about deployment here:

  https://cra.link/deployment

✔ Executing: /Users/pauliusguzas/tizen-studio/tools/ide/bin/tizen build-web -- /Users/pauliusguzas/Desktop/renative/renative/packages/template-starter/platformBuilds/template_tizen -out /Users/pauliusguzas/Desktop/renative/renative/packages/template-starter/platformBuilds/template_tizen/build
✔ Executing: /Users/pauliusguzas/tizen-studio/tools/ide/bin/tizen package -- /Users/pauliusguzas/Desktop/renative/renative/packages/template-starter/platformBuilds/template_tizen/build -s RNVanillaCert -t wgt -o /Users/pauliusguzas/Desktop/renative/renative/packages/template-starter/platformBuilds/template_tizen/output
✔ Executing: /Users/pauliusguzas/tizen-studio/tools/ide/bin/tizen uninstall -p NkVRhWHJST.RNVanillaTV -t UE48K5500
✖ FAILED: /Users/pauliusguzas/tizen-studio/tools/ide/bin/tizen install -- /Users/pauliusguzas/Desktop/renative/renative/packages/template-starter/platformBuilds/template_tizen/output -n RNVanillaTV.wgt -t UE48K5500
[ error ] [run] COMMAND:

/Users/pauliusguzas/tizen-studio/tools/ide/bin/tizen install -- /Users/pauliusguzas/Desktop/renative/renative/packages/template-starter/platformBuilds/template_tizen/output -n RNVanillaTV.wgt -t UE48K5500

FAILED with ERROR:

Error: Command failed with exit code 1: /Users/pauliusguzas/tizen-studio/tools/ide/bin/tizen install -- /Users/pauliusguzas/Desktop/renative/renative/packages/template-starter/platformBuilds/template_tizen/output -n RNVanillaTV.wgt -t UE48K5500
Transferring the package...
Transferred the package: /Users/pauliusguzas/Desktop/renative/renative/packages/template-starter/platformBuilds/template_tizen/output/RNVanillaTV.wgt -> /opt/usr/apps/tmp
Installing the package...
--------------------
Platform log view
--------------------
install NkVRhWHJST.RNVanillaTV
package_path /opt/usr/apps/tmp/RNVanillaTV.wgt
was_install_app return WAS_TRUE
app_id[NkVRhWHJST.RNVanillaTV] install start
app_id[NkVRhWHJST.RNVanillaTV] install failed[118]
spend time for wascmd is [4419]ms
cmd_ret:0
Failed to install Tizen application.
Total time: 00:00:07.070
    at makeError (/Users/pauliusguzas/Desktop/renative/renative/node_modules/execa/lib/error.js:60:11)
    at handlePromise (/Users/pauliusguzas/Desktop/renative/renative/node_modules/execa/index.js:118:26)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)


[ warn ] [run] There is no target connected! Let's try to launch it. "rnv target launch -p tizen -t 192.168.1.28"
[ task ] [run] launchTizenSimulator:192.168.1.28[1]
✖ FAILED: /Users/pauliusguzas/tizen-studio/tools/emulator/bin/em-cli launch --name 192.168.1.28
[ error ] [run] The VM "192.168.1.28" does not exist.
[ task ] [run] launchTizenSimulator:true[1]
✔ Executing: /Users/pauliusguzas/tizen-studio/tools/emulator/bin/em-cli list-vm
? What emulator would you like to launch? (Use arrow keys)
❯ T-8.0-x86_64
  T-samsung-7.0-x86
  W-6.5-circle-x86
  W-7.0-circle-x86
  M-7.0-x86
  M-6.5-x86
  T-8.0-x86

@pavjacko pavjacko closed this pull request by merging all changes into release/1.0 in c87a272 Feb 26, 2024
@pavjacko pavjacko deleted the fix/webos_run_release branch March 10, 2024 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants