Read the statement by Michael Teeuw here.
Magic Mirror on the Raspberry Pi 1, agonizingly difficult
-
Thanks for the quick reply.
I’ve tried to run node serveronly in the terminal, but as far as I understand, I haven’t been able to get it to work.
Howeve, when I go to http://localhost in Chromium (where I assume the MM would be when it works) it do get a message mentioning ngix and saying the debian web server is up and running, though the serveronly mode doesn’t seem to be working. -
It would be http://localhost:8080
-
It says that the site can’t be reached and that localhost refused to connect
-
@MMRPi1 What kind of messages are shown when you run
node serveronly
in the shell? -
@Sean
-
You need express.js
I guess your auto-installation process didn’t work anyhow. You can try manual installation. (And I recommend that.)
See this. -
@Sean I’ve tried following the instructions on that page but it hasn’t worked.
How do I install express.js? -
@MMRPi1 hmmm…
- Go to your MagicMirror directory.
- Is there
package.json
file in your MagicMirror directory? (..../MagicMirror/package.json
) - If there is, open
package.json
you can see like this.
... "dependencies": { "body-parser": "^1.17.1", "colors": "^1.1.2", "electron": "^1.4.7", "express": "^4.14.0", "express-ipfilter": "latest", "feedme": "latest", ... } }
- Then, you can run
npm install
in/MagicMirror
directory. - See how it goes.
-
I’ve got a progress bar that’s progressing slowly, hopefully it will work, though it ma take a while.
Updates to follow… -
@MMRPi1 good luck to you. :D