Just run NPM install in the MagicMirror directory and seems to have fixed it. Was suggestion from NPM audit command
thanks for suggestion tho
Read the statement by Michael Teeuw here.
Latest posts made by Graham Rich
-
RE: Magic Mirror Blanks Several Hours
-
RE: Magic Mirror Blanks Several Hours
I’m not sure if my issue isnt an update failure. Im getting this message on upgrade
pi@pi:~/MagicMirror $ npm update
phantomjs-prebuilt@2.1.16 install /home/pi/MagicMirror/node_modules/phantomjs-prebuilt
node install.jsPhantomJS not found on PATH
Unexpected platform or architecture: linux/arm
It seems there is no binary available for your platform/architecture
Try to install PhantomJS globally
npm WARN grunt-yamllint@0.3.0 requires a peer of grunt@>=1.0.1 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: phantomjs-prebuilt@2.1.16 (node_modules/phantomjs-prebuilt):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: phantomjs-prebuilt@2.1.16 install:node install.js
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1- moment@2.22.2
- iconv-lite@0.4.24
- walk@2.3.14
added 5 packages from 11 contributors and audited 2316 packages in 40.649s
found 5 low severity vulnerabilities
runnpm audit fix
to fix them, ornpm audit
for details
phantomjs-prebuilt@2.1.16 install /home/pi/MagicMirror/node_modules/phantomjs-prebuilt
node install.jsPhantomJS not found on PATH
Unexpected platform or architecture: linux/arm
It seems there is no binary available for your platform/architecture
Try to install PhantomJS globallyelectron-chromedriver@1.8.0 install /home/pi/MagicMirror/node_modules/electron-chromedriver
node ./download-chromedriver.jssuccessfully dowloaded and extracted!
npm WARN grunt-yamllint@0.3.0 requires a peer of grunt@>=1.0.1 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: phantomjs-prebuilt@2.1.16 (node_modules/phantomjs-prebuilt):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: phantomjs-prebuilt@2.1.16 install:node install.js
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1- spectron@3.8.0
removed 4 packages, updated 2 packages and audited 2311 packages in 42.884s
found 5 low severity vulnerabilities
-
RE: Magic Mirror Blanks Several Hours
@sdetweil So I’ve updated my MagicMirror today with NPM update and NPM upgrade and my mirror is now black when I load it. My Mirror is pretty busy with NNOA3, video window from MotionEye and a few of the UK train apps. I was going to thin it down to see if that fixes it but thought Id check if anyone else found a fix yet.
-
RE: Conncting to MM from outside
I assume you have connected to your magicmirror via a terminal connection before to make sure its on the LAN and that you are using the same IP address with 8080 at the end. EG http:192.168.1.44:8080
-
RE: Conncting to MM from outside
@graham-rich said in Conncting to MM from outside:
var config = {
address: “0.0.0.0”,
port: “8080” // added quotes to port: “8080” to correctly reflect my version
// Not sure what your ipWhitelist is saying. For a test set it to
ipWhitelist: [], //You will want to tie this down a little later to prevent it from being too open. Something like [“192.168.1.1”] if you know you local IP address should help once you got it working -
RE: Conncting to MM from outside
I think I’ve been doing the same recently but I wanted to clarify what you meant by outside. The post and replies appear to assume you mean the local LAN (home network). Is this what you mean or are you trying to access this from a remote device or mobile not connected to you home WiFi.
If it the first, then I would confirm that I am using the same setting.
var config = {
address: “0.0.0.0”,
port: 8080If this is remotely access from another domain, you will need to know your internet providers IP address for your router and setup your route access rules/forwarding.