renative
renative copied to clipboard
[Windows] [AndroidTV] Can't connect to bundler. Try restarting it.
Describe the bug Can't connect to bundler. Try restarting it. when I try to install on android tv it show like this error.
To Reproduce Steps to reproduce the behavior:
- Run command 'rnv run'
- See error [ error ] [run] Can't connect to bundler. Try restarting it.
Screenshots or copy&paste
- OS: [windows 10]
- Node Version [v16.15.0]
- RNV Version [0.37.1]
@arulkumararul2000 thanks for reporting this, this is a known issue, for windows budler tends to take more time to connect and often times out, the temporary solution would be to open seperate cli window, do rnv start -p androidtv
, then on different cli window do rnv run -p androidtv
, when cli asks if to reuse bundler, choose yes
@pauliusguzas Oooh Sorry to open this and Thank you for your guide and I need to learn more about flexn but still now I am facing some issues can you help me to solve it.
This is this the issues...
PS C:\Users\AK\Documents\testflexn> rnv start -p androidtv ┐ │ RNV SUMMARY | 11/8/2023, 12:54:56 pm │ │ $ rnv start -p androidtv │ ├──────────────────────────────────────────────────────────────────────────────┤ │ ReNative Version: 0.37.1 │ │ Project Name ($package.name): testflexn │ │ Project Version ($package.version): 0.1.0 │ │ Workspace ($.workspaceID): rnv │ │ Platform (-p): androidtv │ │ Engine ($.platforms.androidtv.engine): engine-rn-tvos │ │ App Config (-c): app │ │ Build Scheme (-s): debug │ │ Target (-t): Android_TV_720p_API_22 │ │ Supported Platforms: androidtv │ │ Env Info: win32 | x64 | node v16.15.0 │ │ Executed Time: 0h:0m:2s:861ms │ │ │ │ [ error ] [start] COMMAND:
node null/local-cli/cli.js start --port 8084 --config=metro.config.js
FAILED with ERROR:
Command failed with exit code 1: node null/local-cli/cli.js start --port 8084 --config=metro.config.js
Error: Command failed with exit code 1: node null/local-cli/cli.js start --port 8084 --config=metro.config.js at makeError (C:\Users\AK\Documents\testflexn\node_modules\execa\lib\error.js:60:11) at handlePromise (C:\Users\AK\Documents\testflexn\node_modules\execa\index.js:118:26) at processTicksAndRejections (node:internal/process/task_queues:96:5)
│ │ └──────────────────────────────────────────────────────────────────────────────┘
@arulkumararul2000 does this project have something done custom by you? if so could you create new project using rnv/template-starter and do start, then run?
@pauliusguzas No I am not using that rnv/template-starter i used flexn/create-template-starter
@arulkumararul2000 could you try rnv/template-starter and tell me if you have same issues?
@pauliusguzas Ok in rnv/template-starter it work perfectly on androidtv but in webos there is some issues
this is the issues...
when i install the app on my webos tv first it display splash screen after it display blank white screen, templates or text nothing to display on the screen.
@arulkumararul2000 this is known and sadly can't say when will be fixed https://github.com/flexn-io/renative/issues/925 regarding the issue on create-template-starter you talked about, that seems weird, as rnv template works, could you try creating new project with flexn/create-template-starter version 1.0.1
@pauliusguzas Is there any alternative solution for webos
@arulkumararul2000 you can try rnv run -p webos --hosted
which will simulate tv in web, and that doesn't result in blank screen
@pauliusguzas Yes I already try that one it is working perfectly on web but I can't get the proper output while I build the ipk on that particular project. I use this command to get the ipk rnv build -p webos
, Is there any proper way to build.
@arulkumararul2000 and what is the issue when you are doing rnv build -p webos
?
@pauliusguzas After take a build that ipk is installed on the lg tv when the app run there will be a splashscreen after that it show only white blank screen.
@arulkumararul2000 I see. I don't think there is any workaround for this, but will check
i am facing the same issue while launching the app on lg webos tv, white screen issue
i have followed the following commands:
rnv build -p webos -s release -t tv rnv run-p webos -s release -t tv ares-install --device tv ./com.mycompany.tvapp_0.1.0_all.ipk
after running the app on lg device, in chromium browser it is showing globalThis error at json chunk like that
there will be a splashscreen after that it show only white blank screen. how can i fix this issue? can anyone please help me? Thanks.