Read the statement by Michael Teeuw here.
Help getting Magic mirror running on Ubuntu Server 16.04.4 LTS as a SERVER
-
@j-lewis,
For some reason your config.js file is missing or inaccessible. Can you issue the command
ls -l /home/ubuntu/MagicMirror/config
and post the output. It would also be easier to help if you can post the content of the file/home/ubuntu/MagicMirror/config/config.js
. -
@j-lewis said in Help getting Magic mirror running on Ubuntu Server 16.04.4 LTS as a SERVER:
Entered the repository: cd ~/MagicMirror
Installed: sudo npm installInstalling dependencies for MM using sudo causes permissions problems
-
ubuntu@UbuntuMagic:~$ ls -l /home/ubuntu/MagicMirror/config total 4 -rw-rw-r-- 1 ubuntu ubuntu 2615 Mar 6 20:19 config.js.sample ubuntu@UbuntuMagic:~$ more /home/ubuntu/MagicMirror/config *** /home/ubuntu/MagicMirror/config: directory ***
I think the issue is with the binding on NPM as it’s only binding to the localhost and not to the IP address of the machine.
-
@Mykle1 Correct. That was a typo as I was initially having install problems, so I removed the install and did it again without the sudo. The log/error above is after doing the install without the sudo. Sorry for any confusion!
I think the main issue is with the NPM binding… any idea how to fix that?
-
the file needs to be
config.js
, the existing fileconfig.js.sample
is just a sample and will be ignored