Read the statement by Michael Teeuw here.
NPM security warnings on fresh install
-
@macko76 I have gotten the same problems just today, however not with a really fresh install.
You COULD do an
npm audit
and see the audit report.
You will find in the report what to do to resolve a number of issues. Look into the headers of the tablesAlso,
npm audit fix
should resolve some of these.
HOWEVER!!!, one major issue for example (spectron) is a dependency of electron, and I wouldn’t recommend touching these without being clear about the risk that you could destroy your running system.
So make a backup and be careful!
I resolved nearly all issues and it’s still running but for obvious reasons I can’t recommend… -
@awsoo But you know that you cannot run the MagicMirror on a Raspbian Lite System per se?
You need the x server and a desktop environment. -
@lavolp3 thank you for your suggestion. I’ve used the npm audit and fix: https://forum.magicmirror.builders/topic/9015/outdated-npm-packages-occur-several-vulnerabilities
-
@lavolp3 No, I didn’t know it :D Really?
Why do I need a desktop environment? Is it possible that this is the reason why I coulnd’t get electron to work?
Okay, as I see there is a tutorial how to install it on Jessie Lite :)
I will try it tomorrow. -
Ok, works after installing desktop environment :D o_O
Thank you!