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

Running kaios on linux tries to open simulator with wrong extension #1445

Closed
pauliusguzas opened this issue Mar 6, 2024 · 0 comments
Closed
Assignees
Labels
bug Something isn't working
Milestone

Comments

@pauliusguzas
Copy link
Collaborator

Describe the bug
running kaios on linux tries to open simulator with wrong extension

To Reproduce

  1. make sure to have kaios simulator installed
  2. Do npx rnv run -p kaios
testlab-ubuntu@testlabubuntu-KBL-U-Pro-Cubi-3-Silent-S-MS-B159:~/Desktop/renative/packages/template-starter$ npx rnv run -p kaios

┌──────────────────────────────────────────────────────────────────────────────┐
│                                                                              │
│        ██████╗ ███████╗███╗   ██╗ █████╗ ████████╗██╗██╗   ██╗███████╗       │
│        ██╔══██╗██╔════╝████╗  ██║██╔══██╗╚══██╔══╝██║██║   ██║██╔════╝       │
│        ██████╔╝█████╗  ██╔██╗ ██║███████║   ██║   ██║██║   ██║█████╗         │
│        ██╔══██╗██╔══╝  ██║╚██╗██║██╔══██║   ██║   ██║╚██╗ ██╔╝██╔══╝         │
│        ██║  ██║███████╗██║ ╚████║██║  ██║   ██║   ██║ ╚████╔╝ ███████╗       │
│        ╚═╝  ╚═╝╚══════╝╚═╝  ╚═══╝╚═╝  ╚═╝   ╚═╝   ╚═╝  ╚═══╝  ╚══════╝       │
│                                                                              │
│        Version: 1.0.0-rc.12                                                  │
│        https://renative.org/                                                  │
│        🚀 Firing up!...                                                      │
│        $ npx rnv run -p kaios                                                │
│        Start Time: 3/6/2024, 5:53:34 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: /home/testlab-ubuntu/Desktop/renative/packages/engine-rn-web
[ task ] registerMissingPlatformEngines[1]
[ task ] initializeTask[1] run
[ task ] => [run]
[ task ] [run] checkIfProjectAndNodeModulesExists[1]
[ hook ] [run] executePipe ('run:before')
[ task ] [run] taskRnvRun[1] parent:undefined port:NaN target:undefined 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] generateLocalJsonSchemas[1]
[ 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.86 KB
[ task ] [app configure] getWorkspaceDirPath[3]
[ task ] [app configure] generateBuildConfig[2] size:195.86 KB
[ task ] [app configure] generateBuildConfig[3] size:195.86 KB
[ task ] [app configure] generateBuildConfig[4] size:195.86 KB
[ task ] [app configure] generatePlatformTemplatePaths[3]
[ task ] [app configure] generateBuildConfig[5] size:209.38 KB
[ task ] [app configure] generateBuildConfig[6] size:209.38 KB
[ task ] [app configure] getWorkspaceDirPath[4]
[ task ] [app configure] generateBuildConfig[7] size:209.38 KB
[ task ] [app configure] generateLocalConfig[1] resetAppId:false
[ task ] [app configure] generateBuildConfig[8] size:209.38 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.12,rnvProject:1.0.0-rc.12[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: /home/testlab-ubuntu/Desktop/renative/packages/rnv/pluginTemplates/@react-native-community/cli-platform-ios/[email protected]
[ 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: debug
[ task ] [platform configure] checkAndConfigureSdks[1]
[ task ] [platform configure] checkSdk[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
[ 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] configureKaiOSProject[1]
[ task ] [configure] copyAssetsFolder[1]
[ warn ] [configure] AssetSources is specified as {{resolvePackage(@flexn/assets-renative-outline)}}/assets. But path /home/testlab-ubuntu/Desktop/renative/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] configureCoreWebProject[1]
[ task ] [configure] configureProject[1]
[ task ] [configure] copyBuildsFolder[1]
[ task ] [configure] copyTemplatePluginsSync[1] (./platformBuilds/template_kaios)
[ task ] [configure] parsePlugins[3]
[ hook ] [configure] executePipe ('configure:after')
[ task ] <= [run] <= configure
[ task ] [run] runKaiOSProject[1]
[ task ] [run] buildCoreWebpackProject[1]
[ task ] [run] parsePlugins[4]
[ info ] [run] File sizes after gzip:

  143.12 kB  build/static/js/main.249f447d.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 ] [run] launchKaiOSSimulator[1]
┌──────────────────────────────────────────────────────────────────────────────┐
│  🚀  SUMMARY | 3/6/2024, 5:53:49 PM                                          │
│  $ npx rnv run -p kaios                                                      │
├──────────────────────────────────────────────────────────────────────────────┤
│  ReNative Version: 1.0.0-rc.12                                               │
│  Project Name ($[package.name](http://package.name/)): @rnv/template-starter                         │
│  Project Version ($package.version): 1.0.0-rc.12                             │
│  Workspace ($.workspaceID): rnv                                              │
│  Platform (-p): kaios                                                        │
│  Engine ($.platforms.kaios.engine): engine-rn-web                            │
│  App Config (-c): template                                                   │
│  Build Scheme (-s): debug                                                    │
│  Supported Platforms: kaios                                                  │
│  Env Info: linux | x64 | node v18.19.0                                       │
│  Executed Time: 0h:0m:14s:771ms                                              │
│                                                                              │
│ [ warn ] [configure] AssetSources is specified as {{resolvePackage(@flexn/assets-renative-outline)}}/assets. But path /home/testlab-ubuntu/Desktop/renative/node_modules/@flexn/assets-renative-outline/assets/kaios was not found.
│ [ warn ] [configure] Your app is missing assets at ./appConfigs/base,./appConfigs/template.
│ [ error ] [run] Can't find emulator at path: /Applications/Kaiosrt.app
│                                                                              │
│  Project location:                                                           │
│  ./platformBuilds/template_kaios                                             │
└──────────────────────────────────────────────────────────────────────────────┘

Expected behavior
template runs on kaios simulator

Desktop (please complete the following information):

  • OS: Ubuntu 20.04.5
  • Node Version 18.19.0
  • RNV Version 1.0.0-rc.12
  • @rnv/template-starter 1.0.0-rc.12
@pauliusguzas pauliusguzas added the bug Something isn't working label Mar 6, 2024
@pavjacko pavjacko added this to the 1.1 milestone Mar 7, 2024
@Marius456 Marius456 self-assigned this Mar 7, 2024
@Marius456 Marius456 modified the milestones: 1.1, 1.0 Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants