i get this error, after installation and restart:
Cannot find module 'wake_on_lan'
Pimatic Plugin for WakeonLan
i get this error, after installation and restart:
Cannot find module 'wake_on_lan'
@p4co86 said:
i get this error, after installation and restart:
Cannot find module 'wake_on_lan'
Can you please try the following:
Stop pimatic first!
cd /pimatic-folder/node_module/pimatic-wakeonlan/
sudo npm install
Start pimatic again
pimatic-google-calendar | pimatic-wmi | pimatic-snmp | pimatic-wakeonlan |
Like my work? Then consider a donation
Follow me: www.thorstenreichelt.de
I also get the same error, even after trying the method above.
me too, trying the method !
I guess that you might be able to solve it by first doing a new git pull.
So do a:
sudo service pimatic stop
cd /pimatic-folder/node_module/pimatic-wakeonlan/
git pull
sudo npm install
And if that does not work try the following:
sudo service pimatic stop
cd /pimatic-folder/node_module/pimatic-wakeonlan/
sudo npm rebuild
But in the above mentioned order
@Cryonic90 @p4co86
i could reproduce your issue with my raspberry pi and for my this had fixed it:
sudo service pimatic stop
cd /pimatic-folder/node_modules/pimatic/node_modules/
sudo npm install wake_on_lan
sudo service pimatic start
Please note, this time its another path.
I’m already looking for a solution, but didn’t really get why this is happening. This is my first pimatic plugin.
pimatic-google-calendar | pimatic-wmi | pimatic-snmp | pimatic-wakeonlan |
Like my work? Then consider a donation
Follow me: www.thorstenreichelt.de
Thanks, that solution indeed seems to work
@thost96 this works for me too. Thanks for that
The error [pimatic] error: Cannot find module 'wake_on_lan'
should be fixed in version 0.0.4.
pimatic-google-calendar | pimatic-wmi | pimatic-snmp | pimatic-wakeonlan |
Like my work? Then consider a donation
Follow me: www.thorstenreichelt.de
Great job
I was just thinking “hey… this feature has been available since forever”… Then it hit me that I have been using shell-execute with etherwake all this time.
Once you get used to something, it just becomes natural, I suppose.