-
Notifications
You must be signed in to change notification settings - Fork 148
Emulator.app file not found #125
Comments
Hi @DarryllRobinson, did you installed the SDK? |
Hi Yes, I have installed the SDK. I can get the Emulator up by clicking on the app file but not through the yarn command. It looks for the Emulator file in the wrong location: v3.0.0 instead of the newer v4.0.0. |
Hmm, yeah. You're right @DarryllRobinson. |
Thanks a lot - much appreciated! |
Hi @raphamorim. Have you had a chance to update the version yet? |
Hi @DarryllRobinson sorry for the delay 😢 So, I've released |
Thank you very much, @raphamorim. The react-tv command can't be found which also prevents the app from working: /bin/sh: react-tv: command not found I'm sorry to keep bugging you - I know you're working hard on creating something great for all of us. Is there possibly something I should change in the package.json? It currently states: "start": "yarn build && react-tv run-webos" --> it's the second bit that causes the problem. Should I migrate to node-webos now instead? Or is it still in progress? |
I rewrote the script to react-tv-cli and it works now. I also had to change the run.js file as it didn't pick up the ENV properly but I got it working. Thank you again. |
No @DarryllRobinson, I'm sorry about that. |
Hi @raphamorim. I'm very happy to help where I can but I'm new to this game so I don't know what you mean by a PR, sorry. Instead, I can show you the code I used if that will help. I changed the /node_modules/react-tv-cli/scripts/webos/run.js to explicitly set the version like so:
The package.json I changed from what I read in your article. The script there says:
so I changed it to:
If there is anything else I can help you with, please let me know. |
The current version seems to be hard-coded to look for an older Emulator:
Up Emulator...
The file /opt/webOS_TV_SDK/CLI/bin/../../Emulator/v3.0.0/LG_webOS_TV_Emulator_RCU.app does not exist.
I've tried looking for the config so I can point it to the newer version (Emulator v4.0.0) but couldn't find anything. What can I do to resolve the issue? I can't deploy any files until I get it sorted.
The text was updated successfully, but these errors were encountered: