Read the statement by Michael Teeuw here.
Unable to install dependencies
-
pi@raspberrypi:~/MagicMirror $ npm install npm WARN npm npm does not support Node.js v10.15.2 npm WARN npm You should probably upgrade to a newer version of node as we npm WARN npm can't make any promises that npm will work with this version. npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9. npm WARN npm You can find the latest version at https://nodejs.org/ npm ERR! code CERT_NOT_YET_VALID npm ERR! errno CERT_NOT_YET_VALID npm ERR! request to https://registry.npmjs.org/iconv-lite failed, reason: certificate is not yet valid npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2020-02-13T20_26_05_452Z-debug.log pi@raspberrypi:~/MagicMirror $
Sorry I didn’t see your response, here is npm install
-
@nathan-joslin that CERT NOT VALID is a real problem…
Will have to research
-
@sdetweil Why did your installation script not work? Tonight I may have time to delete the MagicMirror folder and use your script and show you what that says.
-
@nathan-joslin one suggestion for the cert error is to insure your system time is set correctly.
My script is the same as before, and fails if npm install fails
My script shows the same error, see line 5 of the log. Looks like the system date is in the past
-
@sdetweil
Okay I’ll look into it tonight, just have some things to take care of first. I thought it may have been related to the time, but when I tried to change the time it wasn’t letting me. I even rebooted multiple times. But I’ll try to get back to you tonight -
@sdetweil
I was finally able to install it correctly using your script. For some reason usingraspi-config
was not changing the date and time so I had to do it manually. Thank you so much for your help! I didn’t think the date and time being off by 9 days would have been an issue. I hope my friends and I will be able to accomplish want we want to do with this, but that may have to be a surprise for later. Thanks once again.
-
@nathan-joslin np. We all learned something. Now to detect it, and help others
-
@nathan-joslin i have added code to the installer to check for and report the date/time problem…
thanks for your help!