@sdetweil should be fine its a SanDisk Ultra Plus 64GB U1 SDXC
Read the statement by Michael Teeuw here.
Posts
-
RE: cannot install pm2
-
RE: cannot install pm2
@sdetweil still nothing:
pi@raspberrypi:~ $ bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/fixuppm2.sh)" the log will be saved in /home/pi/MagicMirror/installers/pm2_setup.log npm ERR! Unexpected end of JSON input while parsing near '...pes/node":"^12.7.5","' npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2020-04-29T21_00_10_606Z-debug.log bash: line 103: pm2: command not found bash: line 180: pm2: command not found bash: line 183: pm2: command not found -
RE: cannot install pm2
@sdetweil same result:
pi@raspberrypi:~ $ bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/fixuppm2.sh)" the log will be saved in /home/pi/MagicMirror/installers/pm2_setup.log npm ERR! Unexpected end of JSON input while parsing near '...s":{"moment-timezone"' npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2020-04-29T20_19_40_905Z-debug.log bash: line 103: pm2: command not found bash: line 180: pm2: command not found bash: line 183: pm2: command not found -
RE: cannot install pm2
@sdetweil ok done. Now should I try
bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/fixuppm2.sh)"again? -
RE: cannot install pm2
I don’t think that worked. Tried to paste code but got flagged as spam
-
RE: cannot install pm2
pi@raspberrypi:~ $ bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/fixuppm2.sh)" the log will be saved in /home/pi/MagicMirror/installers/pm2_setup.log npm ERR! Unexpected end of JSON input while parsing near '...s":{"moment-timezone"' npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2020-04-29T20_09_52_853Z-debug.log bash: line 103: pm2: command not found bash: line 180: pm2: command not found bash: line 183: pm2: command not found -
RE: cannot install pm2
@sdetweil looks like pm2 was not installed:
Splashscreen: Changed theme to MagicMirror successfully. Do you want use pm2 for auto starting of your MagicMirror (y/N)?y install and setup pm2 bash: line 442: pm2: command not found bash: line 518: pm2: command not found bash: line 521: pm2: command not found Do you want to disable the screen saver? (y/N)?y -
RE: cannot install pm2
We're ready! Run pm2 start MagicMirror from the ~/MagicMirror directory to start your MagicMirror. pi@raspberrypi:~ $ cd MagicMirror pi@raspberrypi:~/MagicMirror $ pm2 start MagicMirror bash: pm2: command not found pi@raspberrypi:~/MagicMirror $ -
RE: cannot install pm2
@sdetweil purged npm, now running your installer script…updating packages…I’m on a 2Mb/s internet connection…
-
RE: cannot install pm2
@sdetweil ok I’ll give that a go. In the meantime:
pi@raspberrypi:~ $ sudo npm install -g pm2 npm ERR! Unexpected end of JSON input while parsing near '...s":{"moment-timezone"' npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2020-04-29T18_49_06_787Z-debug.logand
pi@raspberrypi:~/MagicMirror $ lsb_release -a No LSB modules are available. Distributor ID: Raspbian Description: Raspbian GNU/Linux 10 (buster) Release: 10 Codename: buster -
RE: cannot install pm2
@sdetweil yes, manual install of MM
pi@raspberrypi:~ $ node -v v10.20.1 pi@raspberrypi:~ $ npm -v 6.14.4how do I show results of lsb_release -a?
-
cannot install pm2
Hello. I’m getting this error when I try to install pm2:
- do I install in /MagicMirror directory?
pi@raspberrypi:~/MagicMirror $ sudo npm install -g pm2 npm ERR! Unexpected end of JSON input while parsing near '...s":{"moment-timezone"' npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2020-04-29T18_34_01_247Z-debug.log -
mmm-Remote-Control issues
Hello, I’m having difficulty getting access. I have changed the config.js file multiple times to no affect. All the things I have read talk about IP addresses in the 192 range, but all mine are 10.0.0.xxx. I have added the IPs of my phone and laptop to the config but it just doesn’t work. Here are the settings currently:
var config = { //address: "localhost", // Address to listen on, can be: address: "0.0.0.0", // - "localhost", "0.0.0.0", "::1" to listen on loopback interface // - another specific IPv4/6 to listen on a specific interface // - "0.0.0.0", "::" to listen on any interface // Default, when address config is left out or empty, is "localhost" port: 8080, ipWhitelist: ["::fff:10.0.0.110", "::fff:128.0.0.0/2", "::fff:192.0.0.0/3", "::fff:224.0.0.0/4", "127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses // or add a specific IPv4 of 192.168.1.5 : // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"], // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format : // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],and here is the module in my config.js file:
{ module: 'MMM-Remote-Control', // uncomment the following line to show the URL of the remote control on the mirror position: 'bottom_left', // you can hide this module afterwards from the remote control itself config: { //customCommand: {}, // Optional, See "Using Custom Commands" below //customMenu: "custom_menu.json", // Optional, See "Custom Menu Items" below //showModuleApiMenu: true, // Optional, Enable the Module Controls menu apiKey: "", // Optional, See API/README.md for details } -
RE: Weather module config
@sdetweil haha well that was dumb of me. I copied it from the web page where there isn’t a minus, but in the URL there obviously is. Thanks so much! got it working!
-
RE: Weather module config
@sdetweil I’m using the lat long listed here: https://forecast.weather.gov/MapClick.php?lat=34.54167&lon=-119.80917#.XqhoOJp7kWr
-
RE: Weather module config
@sdetweil yeah, no dice. This came up in my browser
"title": "Data Unavailable For Requested Point", "type": "https://api.weather.gov/problems/InvalidPoint", "status": 404, "detail": "Unable to provide data for requested point 34.5444,119.7913", "instance": "https://api.weather.gov/requests/8199fbe2-ac6c-4c7c-b109-ed162794f780"