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

[Linux] Can't run template-starter for tizenwatch device #1786

Open
Marius456 opened this issue Nov 18, 2024 · 1 comment
Open

[Linux] Can't run template-starter for tizenwatch device #1786

Marius456 opened this issue Nov 18, 2024 · 1 comment
Assignees
Labels
bug Something isn't working
Milestone

Comments

@Marius456
Copy link
Contributor

Marius456 commented Nov 18, 2024

Describe the bug
Can't run template-starter on tizenwatch device.

To Reproduce
Steps to reproduce the behavior:

  1. Connect your watch to your computer using the Tizen Device Manager.
  2. Create samsung certificate and use it. Instructions: [tizenwatch] App isn't installed to tizenwatch device #1739 (comment)
  3. Run command 'npx rnv run -p tizenwatch -t ip_address'
  4. See error

Screenshots or copy&paste
386599711-39541ccd-0f1d-4a07-ac4f-f45dc958bf6b

Desktop (please complete the following information):

  • OS: ubuntu
  • RNV Version 1.6.0-rc.0
@Marius456 Marius456 added the bug Something isn't working label Nov 18, 2024
@Marius456 Marius456 added this to the 1.8 milestone Nov 18, 2024
@Marius456 Marius456 self-assigned this Nov 19, 2024
@Marius456 Marius456 modified the milestones: 1.8, 1.9 Dec 2, 2024
@Marius456 Marius456 modified the milestones: 1.9, 2.0 Dec 16, 2024
@Marius456
Copy link
Contributor Author

Marius456 commented Dec 27, 2024

Can't reproduce in 1.9.0-rc.0

vboxuser@linux:~/test/renative/packages/template-starter$ npx rnv run -p tizenwatch -t 192.168.1.95

┌─────────────────────────────────────────────────────────────────┐
│ ██████╗ ███████╗███╗   ██╗ █████╗ ████████╗██╗██╗   ██╗███████╗ │
│ ██╔══██╗██╔════╝████╗  ██║██╔══██╗╚══██╔══╝██║██║   ██║██╔════╝ │
│ ██████╔╝█████╗  ██╔██╗ ██║███████║   ██║   ██║██║   ██║█████╗   │
│ ██╔══██╗██╔══╝  ██║╚██╗██║██╔══██║   ██║   ██║╚██╗ ██╔╝██╔══╝   │
│ ██║  ██║███████╗██║ ╚████║██║  ██║   ██║   ██║ ╚████╔╝ ███████╗ │
│ ╚═╝  ╚═╝╚══════╝╚═╝  ╚═══╝╚═╝  ╚═╝   ╚═╝   ╚═╝  ╚═══╝  ╚══════╝ │
│ 🚀 v:1.9.0-rc.0 | renative.org | 12/27/2024, 3:53:08 PM     	│
│ $ npx rnv run -p tizenwatch -t 192.168.1.95                 	│
└─────────────────────────────────────────────────────────────────┘
info: Current engine: @rnv/engine-rn-web (../engine-rn-web)
task: ○ run ↺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 overridden by: /@rnv/config-templates/pluginTemplates/@react-native-community/cli-platform-ios/overrides@12.3.6.json
info: ../../node_modules/@react-native-community/cli-platform-ios/build/tools/listIOSDevices.js overridden by: /@rnv/config-templates/pluginTemplates/@react-native-community/cli-platform-ios/overrides@12.3.6.json
info: ../../node_modules/@react-native-community/cli-platform-ios/build/commands/runIOS/index.js overridden by: /@rnv/config-templates/pluginTemplates/@react-native-community/cli-platform-ios/overrides@12.3.6.json
info: ../../node_modules/@react-native-community/cli-platform-ios/build/commands/runIOS/index.js overridden by: /@rnv/config-templates/pluginTemplates/@react-native-community/cli-platform-ios/overrides@12.3.6.json
info: ../../node_modules/@react-native-community/cli-platform-ios/build/commands/runIOS/index.js overridden by: /@rnv/config-templates/pluginTemplates/@react-native-community/cli-platform-ios/overrides@12.3.6.json
info: ../../node_modules/@react-native-community/cli-platform-ios/build/commands/runIOS/index.js overridden by: /@rnv/config-templates/pluginTemplates/@react-native-community/cli-platform-ios/overrides@12.3.6.json
info: ../../node_modules/react-native/node_modules/@react-native-community/cli-platform-ios/build/tools/listIOSDevices.js overridden by: /@rnv/config-templates/pluginTemplates/@react-native-community/cli-platform-ios/overrides@12.3.6.json
info: ../../node_modules/react-native/node_modules/@react-native-community/cli-platform-ios/build/tools/listIOSDevices.js overridden by: /@rnv/config-templates/pluginTemplates/@react-native-community/cli-platform-ios/overrides@12.3.6.json
info: ../../node_modules/react-native/node_modules/@react-native-community/cli-platform-ios/build/commands/runIOS/index.js overridden by: /@rnv/config-templates/pluginTemplates/@react-native-community/cli-platform-ios/overrides@12.3.6.json
info: ../../node_modules/react-native/node_modules/@react-native-community/cli-platform-ios/build/commands/runIOS/index.js overridden by: /@rnv/config-templates/pluginTemplates/@react-native-community/cli-platform-ios/overrides@12.3.6.json
info: ../../node_modules/react-native/node_modules/@react-native-community/cli-platform-ios/build/commands/runIOS/index.js overridden by: /@rnv/config-templates/pluginTemplates/@react-native-community/cli-platform-ios/overrides@12.3.6.json
info: ../../node_modules/react-native/node_modules/@react-native-community/cli-platform-ios/build/commands/runIOS/index.js overridden by: /@rnv/config-templates/pluginTemplates/@react-native-community/cli-platform-ios/overrides@12.3.6.json
info: ../../node_modules/react-native-tvos/node_modules/@react-native-community/cli-platform-ios/build/tools/listIOSDevices.js overridden by: /@rnv/config-templates/pluginTemplates/@react-native-community/cli-platform-ios/overrides@12.3.6.json
info: ../../node_modules/react-native-tvos/node_modules/@react-native-community/cli-platform-ios/build/tools/listIOSDevices.js overridden by: /@rnv/config-templates/pluginTemplates/@react-native-community/cli-platform-ios/overrides@12.3.6.json
info: ../../node_modules/react-native-tvos/node_modules/@react-native-community/cli-platform-ios/build/commands/runIOS/index.js overridden by: /@rnv/config-templates/pluginTemplates/@react-native-community/cli-platform-ios/overrides@12.3.6.json
info: ../../node_modules/react-native-tvos/node_modules/@react-native-community/cli-platform-ios/build/commands/runIOS/index.js overridden by: /@rnv/config-templates/pluginTemplates/@react-native-community/cli-platform-ios/overrides@12.3.6.json
info: ../../node_modules/react-native-tvos/node_modules/@react-native-community/cli-platform-ios/build/commands/runIOS/index.js overridden by: /@rnv/config-templates/pluginTemplates/@react-native-community/cli-platform-ios/overrides@12.3.6.json
info: ../../node_modules/react-native-tvos/node_modules/@react-native-community/cli-platform-ios/build/commands/runIOS/index.js overridden by: /@rnv/config-templates/pluginTemplates/@react-native-community/cli-platform-ios/overrides@12.3.6.json
info: ../../node_modules/@react-native-community/cli/build/bin.js overridden by: /@rnv/config-templates/pluginTemplates/@react-native-community/cli/overrides.json
info: ../../node_modules/react-native/node_modules/@react-native-community/cli/build/bin.js overridden by: /@rnv/config-templates/pluginTemplates/@react-native-community/cli/overrides.json
info: ../../node_modules/react-native-tvos/node_modules/@react-native-community/cli/build/bin.js overridden by: /@rnv/config-templates/pluginTemplates/@react-native-community/cli/overrides.json
info: ../../node_modules/react-native-tvos/Libraries/Components/ScrollView/ScrollViewNativeComponent.js overridden by: /@rnv/config-templates/pluginTemplates/react-native-tvos/overrides.json
info: ../../node_modules/react-native-tvos/Libraries/Components/ScrollView/ScrollViewNativeComponent.js overridden by: /@rnv/config-templates/pluginTemplates/react-native-tvos/overrides.json
info: ../../node_modules/react-native-tvos/Libraries/Components/ScrollView/ScrollViewNativeComponent.js overridden by: /@rnv/config-templates/pluginTemplates/react-native-tvos/overrides.json
task: ✔ project configure
info: Current Build Scheme: debug
task: ○ sdk configure ↺1
task: ✔ sdk configure
task: ✔ platform configure
✔ Executing: "/home/vboxuser/tizen-studio/tools/ide/bin/tizen" security-profiles list -n testwatch
warn: ○ configure: AssetSources is specified as {{resolvePackage(@flexn/assets-renative-outline)}}/assets. But path ../../node_modules/@flexn/assets-renative-outline/assets/tizenwatch was not found.
warn: ○ configure: Your app is missing assets at ./appConfigs/base,./appConfigs/template.
task: ✔ configure
info: Your tizenwatch devServer at port 8090 is not running. Starting it up for you...
info: Your tizenwatch devServerHost 127.0.0.1 at port 8090 is not running. Starting it up for you...
┌─────────────────────────────────────────────────────────────────┐
│ ⚠ BUNDLER STARTED | 12/27/2024, 3:53:14 PM | rnv@1.9.0-rc.0 	│
│ $ npx rnv run -p tizenwatch -t 192.168.1.95                 	│
├─────────────────────────────────────────────────────────────────┤
│ Project: @rnv/template-starter@1.9.0-rc.0                   	│
│ Workspace: rnv                                              	│
│ Platform (-p): tizenwatch                                   	│
│ Engine: @rnv/engine-rn-web                                  	│
│ App Config (-c): template                                   	│
│ Build Scheme (-s): debug                                    	│
│ Target (-t): 192.168.1.95                                   	│
│ Supported Platforms: ios, android, androidtv, firetv, androidwear, web, tizen, tvos, webos, macos, tizenwatch, kaios, chromecast, linux, windows
│ Env Info: linux | x64 | node v18.19.0                       	│
│ Executed Time: 0h:0m:5s:823ms                               	│
│ warn: ○ configure: AssetSources is specified as {{resolvePackage(@flexn/assets-renative-outline)}}/assets. But path ../../node_modules/@flexn/assets-renative-outline/assets/tizenwatch was not found.
│ warn: ○ configure: Your app is missing assets at ./appConfigs/base,./appConfigs/template.
│ Project location: ./platformBuilds/template_tizenwatch      	│
└─────────────────────────────────────────────────────────────────┘
warn: ○ run: You are missing chii. You can install via npm i -g chii) Trying to use weinre next
warn: ○ run: You are missing weinre. Skipping debug. install via npm i -g weinre
Browserslist: caniuse-lite is outdated. Please run:
  npx update-browserslist-db@latest
  Why you should do it regularly: https://github.com/browserslist/update-db#readme
(node:32549) [DEP_WEBPACK_DEV_SERVER_ON_AFTER_SETUP_MIDDLEWARE] DeprecationWarning: 'onAfterSetupMiddleware' option is deprecated. Please use the 'setupMiddlewares' option.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:32549) [DEP_WEBPACK_DEV_SERVER_ON_BEFORE_SETUP_MIDDLEWARE] DeprecationWarning: 'onBeforeSetupMiddleware' option is deprecated. Please use the 'setupMiddlewares' option.
Starting the development server...

Compiled successfully!

You can now view @rnv/template-starter in the browser.

  Local:        	http://localhost:8090
  On Your Network:  http://10.0.2.15:8090

Note that the development build is not optimized.
To create a production build, use npm run build.

assets by path static/ 3.48 MiB
  asset static/js/bundle.js 3.17 MiB [emitted] (name: main) 1 related asset
  asset static/media/Inter-Light.58a136ec3193fa8a63e5.ttf 303 KiB [emitted] [immutable] [from: appConfigs/base/fonts/Inter-Light.ttf] (auxiliary name: main)
  asset static/media/logo.63d54a55b067ffc3e842.png 12.1 KiB [emitted] [immutable] [from: platformAssets/runtime/logo.png] (auxiliary name: main)
asset index.html 1.9 KiB [emitted]
asset asset-manifest.json 356 bytes [emitted]
cached modules 2.65 MiB (javascript) 303 KiB (asset) 28.8 KiB (runtime) [cached] 671 modules
modules by layer 2 KiB (javascript) 12.1 KiB (asset)
  ./platformAssets/runtime/fontManager.web.js 1.95 KiB [built]
  ./platformAssets/runtime/logo.png 42 bytes (javascript) 12.1 KiB (asset) [built]
webpack 5.94.0 compiled successfully in 3630 ms
No issues found.
✔ Executing: "/home/vboxuser/tizen-studio/tools/sdb" devices
✔ Executing: "/home/vboxuser/tizen-studio/tools/sdb" devices
✔ Executing: "/home/vboxuser/tizen-studio/tools/ide/bin/tizen" build-web -- "/home/vboxuser/test/renative/packages/template-starter/platformBuilds/template_tizenwatch" -out "/home/vboxuser/test/renative/packages/template-starter/platformBuilds/template_tizenwatch/intermediate"
✔ Executing: "/home/vboxuser/tizen-studio/tools/ide/bin/tizen" package -- "/home/vboxuser/test/renative/packages/template-starter/platformBuilds/template_tizenwatch/intermediate" -s testwatch -t wgt -o "/home/vboxuser/test/renative/packages/template-starter/platformBuilds/template_tizenwatch/output"
✔ Executing: "/home/vboxuser/tizen-studio/tools/ide/bin/tizen" uninstall -p cHIP2fIRQZ -t SM-R500
✔ Executing: "/home/vboxuser/tizen-studio/tools/ide/bin/tizen" install -- "/home/vboxuser/test/renative/packages/template-starter/platformBuilds/template_tizenwatch/output" -n RNVanillaWatch.wgt -t SM-R500
✔ Executing: "/home/vboxuser/tizen-studio/tools/ide/bin/tizen" run -p cHIP2fIRQZ -t SM-R500

The app was installed. However, because it ran in a Linux VM, it didn't find the server.
20241227_160559

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

1 participant