Skip to content
This repository has been archived by the owner on May 6, 2022. It is now read-only.

cannot find module lgtv #5

Open
jfarcher opened this issue Jul 11, 2017 · 4 comments
Open

cannot find module lgtv #5

jfarcher opened this issue Jul 11, 2017 · 4 comments

Comments

@jfarcher
Copy link

on running tv off i'm getting the following error:

module.js:471
throw err;
^

Error: Cannot find module 'lgtv'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object. (/opt/amazon-alexa-lg-tv/tv_shutdown.js:1:70)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
TV turned off!

@jfarcher
Copy link
Author

did an npm install lgtv without the -g and it seems to work, although the off feature is hit and miss. Random IP addresses showing up in the logs which aren't the TV.
Going to debug a little to see if i can get to the bottom of it.

@khiles
Copy link

khiles commented Jul 13, 2017

Mine same it seems to find any device on network but not my lg tv its on 192.168.1.127 but it keeps going to 192.168.1.115 which is my chromcast

@akhan23wgu
Copy link

I had the same issue. Installed Nodejs 4 and it worked.

@paulojhsousa
Copy link

Same issue here. It continues to listen to a wrong IP addr. Did you guys manage to find a workaround?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants