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

rnv target fixes #1383

Merged
merged 11 commits into from
Feb 9, 2024
Merged

rnv target fixes #1383

merged 11 commits into from
Feb 9, 2024

Conversation

@pavjacko pavjacko self-assigned this Feb 6, 2024
@pavjacko pavjacko added this to the 1.0 milestone Feb 6, 2024
@GabrieleKaceviciute
Copy link
Collaborator

issues remain on tizen

➜  ~/Desktop/tests/renative/packages/template-starter git:(fix/rnv_target) npx rnv target launch -p tizen

┌──────────────────────────────────────────────────────────────────────────────┐
│                                                                              │
│        ██████╗ ███████╗███╗   ██╗ █████╗ ████████╗██╗██╗   ██╗███████╗       │
│        ██╔══██╗██╔════╝████╗  ██║██╔══██╗╚══██╔══╝██║██║   ██║██╔════╝       │
│        ██████╔╝█████╗  ██╔██╗ ██║███████║   ██║   ██║██║   ██║█████╗         │
│        ██╔══██╗██╔══╝  ██║╚██╗██║██╔══██║   ██║   ██║╚██╗ ██╔╝██╔══╝         │
│        ██║  ██║███████╗██║ ╚████║██║  ██║   ██║   ██║ ╚████╔╝ ███████╗       │
│        ╚═╝  ╚═╝╚══════╝╚═╝  ╚═══╝╚═╝  ╚═╝   ╚═╝   ╚═╝  ╚═══╝  ╚══════╝       │
│                                                                              │
│        Version: 1.0.0-rc.11                                                  │
│        https://renative.org/                                                  │
│        🚀 Firing up!...                                                      │
│        $ npx rnv target launch -p tizen                                      │
│        Start Time: 2/8/2024, 3:40:25 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-core path: /Users/gabriele/Desktop/tests/renative/packages/engine-core/lib
[ task ] registerMissingPlatformEngines[1]
[ task ] initializeTask[1] target launch
[ task ] => [target launch]
[ task ] [target launch] taskRnvTargetLaunch[1]
[ task ] [target launch] isPlatformSupported[1]
[ task ] [target launch] checkAndConfigureSdks[1]
[ task ] [target launch] checkAndConfigureTizenSdks:tizen[1]
[ task ] => [target launch] => [workspace configure]
[ task ] [workspace configure] taskRnvWorkspaceConfigure[1]
[ task ] <= [target launch] <= workspace configure
? Which target to use? Pick from available targets...
[ task ] [target launch] checkSdk[1]
[ task ] [target launch] checkTizenSdk[1]
[ task ] [target launch] _isSdkInstalled[1]
[ task ] [target launch] launchTizenSimulator:true[1]
✖ FAILED: /Users/gabriele/tizen-studio/tools/emulator/bin/em-cli launch --name true
┌──────────────────────────────────────────────────────────────────────────────┐
│  🚀  SUMMARY | 2/8/2024, 3:40:27 PM                                          │
│  $ npx rnv target launch -p tizen                                            │
├──────────────────────────────────────────────────────────────────────────────┤
│  ReNative Version: 1.0.0-rc.11                                               │
│  Project Name ($package.name): @rnv/template-starter                         │
│  Project Version ($package.version): 1.0.0-rc.11                             │
│  Workspace ($.workspaceID): rnv                                              │
│  Platform (-p): tizen                                                        │
│  Engine ($.platforms.tizen.engine): engine-core                              │
│  Build Scheme (-s): debug                                                    │
│  Env Info: darwin | x64 | node v18.19.0                                      │
│  Executed Time: 0h:0m:1s:756ms                                               │
│                                                                              │
│ [ error ] [target launch] COMMAND:

/Users/gabriele/tizen-studio/tools/emulator/bin/em-cli launch --name true

FAILED with ERROR:

Error: true does not match any VM

Error: Command failed with exit code 2: /Users/gabriele/tizen-studio/tools/emulator/bin/em-cli launch --name true
Error: true does not match any VM
    at makeError (/Users/gabriele/Desktop/tests/renative/node_modules/execa/lib/error.js:60:11)
    at handlePromise (/Users/gabriele/Desktop/tests/renative/node_modules/execa/index.js:118:26)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)


│                                                                              │
└──────────────────────────────────────────────────────────────────────────────┘
➜  ~/Desktop/tests/renative/packages/template-starter git:(fix/rnv_target)
? Which target to use? belekas (global default)
[ task ] [target launch] checkSdk[1]
[ task ] [target launch] checkTizenSdk[1]
[ task ] [target launch] _isSdkInstalled[1]
[ task ] [target launch] launchTizenSimulator:belekas[1]
✖ FAILED: /Users/gabriele/tizen-studio/tools/emulator/bin/em-cli launch --name belekas
┌──────────────────────────────────────────────────────────────────────────────┐
│  🚀  SUMMARY | 2/8/2024, 4:45:33 PM                                          │
│  $ npx rnv target launch -p tizen                                            │
├──────────────────────────────────────────────────────────────────────────────┤
│  ReNative Version: 1.0.0-rc.11                                               │
│  Project Name ($package.name): @rnv/template-starter                         │
│  Project Version ($package.version): 1.0.0-rc.11                             │
│  Workspace ($.workspaceID): rnv                                              │
│  Platform (-p): tizen                                                        │
│  Engine ($.platforms.tizen.engine): engine-core                              │
│  Build Scheme (-s): debug                                                    │
│  Env Info: darwin | x64 | node v18.19.0                                      │
│  Executed Time: 0h:0m:1s:335ms                                               │
│                                                                              │
│ [ error ] [target launch] COMMAND:

/Users/gabriele/tizen-studio/tools/emulator/bin/em-cli launch --name belekas

FAILED with ERROR:

Error: belekas does not match any VM

Error: Command failed with exit code 2: /Users/gabriele/tizen-studio/tools/emulator/bin/em-cli launch --name belekas
Error: belekas does not match any VM
    at makeError (/Users/gabriele/Desktop/tests/renative/node_modules/execa/lib/error.js:60:11)
    at handlePromise (/Users/gabriele/Desktop/tests/renative/node_modules/execa/index.js:118:26)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)


│                                                                              │
└──────────────────────────────────────────────────────────────────────────────┘
➜  ~/Desktop/tests/renative/packages/template-starter git:(fix/rnv_target)
✖ FAILED: /Users/gabriele/tizen-studio/tools/emulator/bin/em-cli launch --name T-samsung-7.0-x86
┌──────────────────────────────────────────────────────────────────────────────┐
│  🚀  SUMMARY | 2/8/2024, 4:32:25 PM                                          │
│  $ npx rnv target launch -p tizen                                            │
├──────────────────────────────────────────────────────────────────────────────┤
│  ReNative Version: 1.0.0-rc.11                                               │
│  Project Name ($package.name): @rnv/template-starter                         │
│  Project Version ($package.version): 1.0.0-rc.11                             │
│  Workspace ($.workspaceID): rnv                                              │
│  Platform (-p): tizen                                                        │
│  Engine ($.platforms.tizen.engine): engine-core                              │
│  Build Scheme (-s): debug                                                    │
│  Env Info: darwin | x64 | node v18.19.0                                      │
│  Executed Time: 0h:0m:2s:133ms                                               │
│                                                                              │
│ [ error ] [target launch] COMMAND:

/Users/gabriele/tizen-studio/tools/emulator/bin/em-cli launch --name T-samsung-7.0-x86

FAILED with ERROR:

Error: Failed to start this VM.
[T-samsung-7.0-x86] is running now...

Error: Command failed with exit code 2: /Users/gabriele/tizen-studio/tools/emulator/bin/em-cli launch --name T-samsung-7.0-x86
Error: Failed to start this VM.
[T-samsung-7.0-x86] is running now...
   at makeError (/Users/gabriele/Desktop/tests/renative/node_modules/execa/lib/error.js:60:11)
   at handlePromise (/Users/gabriele/Desktop/tests/renative/node_modules/execa/index.js:118:26)
   at processTicksAndRejections (node:internal/process/task_queues:95:5)


│                                                                              │
└──────────────────────────────────────────────────────────────────────────────┘
➜  ~/Desktop/tests/renative/packages/template-starter git:(fix/rnv_target)

@mihaiblaga89 mihaiblaga89 merged commit ab59975 into release/1.0 Feb 9, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants