Open aleksilassila opened 5 months ago
Hi @aleksilassila,
I have an older Samsung TV (Tizen 7.0). I was trying to compile an app for my TV, however the script provided didn't worked for me (got some error msg). Is this a good place where to post error message?
@Marty-SK yeah sure, go ahead. I got Tizen 5.5 so I'm sure we'll get yours running with minimal tweaking
Hi @aleksilassila ,
When I run npm run build:tizen;C:\tizen-studio\tools\ide\bin\tizen.bat build-web -- tizen;C:\tizen-studio\tools\ide\bin\tizen.bat package -t wgt -o .\tizen -- .\tizen\.buildResult\;C:\tizen-studio\tools\ide\bin\tizen.bat install -n .\tizen\Reiverr.wgt -t QE55Q9FNA
in CMD line, Im getting following error:
npm error Missing script: "build:tizen;C:\tizen-studio\tools\ide\bin\tizen.bat" npm error npm error To see a list of scripts, run: npm error npm run npm error A complete log of this run can be found in: C:\Users\Administrator\AppData\Local\npm-cache\_logs\2024-07-09T14_22_33_724Z-debug-0.log
Im total newbie with npm and compiling the app, so I probably did some mistake in step 1 Follow the manual installation steps above to install the dependencies (npm install)
Log file 2024-07-09T14_22_33_724Z-debug-0.log
@Marty-SK can you make sure you run the command in the source directory for reiverr? That's the directory containing all the reiverr source code as well as a file called "package.json", which is probably what could not be found based on the log. Also, probably don't download the folder to the install location of tizen studio (looks like you put it in c:/tizen-studio/tools/ide/bin based on the picture), but to desktop or something similar
@aleksilassila steps which I did
unpacked reiverr-master to Desktop (C:\Users\Administrator\Desktop\reiverr-master)
run CMD line with commands in C:\Users\Administrator\Desktop\reiverr-master
npm install
npm install --prefix backend
npm run build
run command
C:\Users\Administrator\Desktop\reiverr-master>npm run build:tizen;C:\tizen-studio\tools\ide\bin\tizen.bat build-web -- tizen;C:\tizen-studio\tools\ide\bin\tizen.bat package -t wgt -o .\tizen -- .\tizen\.buildResult\;C:\tizen-studio\tools\ide\bin\tizen.bat install -n .\tizen\Reiverr.wgt -t QE55Q9FNA
Got error msg
npm error Missing script: "build:tizen;C:\tizen-studio\tools\ide\bin\tizen.bat" npm error npm error To see a list of scripts, run: npm error npm run npm error A complete log of this run can be found in: C:\Users\Administrator\AppData\Local\npm-cache\_logs\2024-07-09T14_56_46_078Z-debug-0.log
Log file 2024-07-09T14_56_46_078Z-debug-0.log
@Marty-SK can you try running the install command in powershell instead of cmd?
Thanks @aleksilassila !
CMD line was the culprit. When I run the commmand via Powershell, it works like a charm.
Now, I see the app on my Samsung TV, but when I run the app, I see this:
Ive tried restart TV, but no luck.
Im runnning latest Reiverr 2.0 on Synology NAS 920 in Docker. Its accessible via web browser without any issues.
Good to hear that the install script works! I might have to specify the instructions little bit.
I suspect the error you're seeing now is because of your tizen version, I'll try to investigate and see if I can get it fixed.
Add support & install instructions to the following platforms:
I own a samsung tv only, so implementing the support for other platforms is left for the community for now. All help here is appreciated!
Also, I'd like to hear some feedback on the usability of the Tizen app: Were you able to install it on your TV, how does it run, what tv / version of Tizen are you using? My TV is using Tizen 5.5 and the performance is mediocre at best, so I'd love to hear if its usable on older TVs and if new TVs have performance issues, too.