Read the statement by Michael Teeuw here.
MMM-bergfex not working
-
pi@MagicMirror:~/MagicMirror/modules/MMM-bergfex $ npm install cheerio npm WARN MMM-bergfex@ license should be a valid SPDX license expression + cheerio@1.0.0-rc.3 updated 1 package and audited 65 packages in 5.877s 2 packages are looking for funding run `npm fund` for details found 0 vulnerabilities pi@MagicMirror:~/MagicMirror/modules/MMM-bergfex $ npm install npm WARN MMM-bergfex@ license should be a valid SPDX license expression audited 65 packages in 2.257s 2 packages are looking for funding run `npm fund` for details found 0 vulnerabilities pi@MagicMirror:~/MagicMirror/modules/MMM-bergfex $
I just did it again, but I am quite sure I already did it before.
-
@MajorC sadly he didn’t update package.json with all the required modules
do
npm install async --save
npm install sys – savehis code
var async = require('async'); var sys = require('sys'); var exec = require('child_process').exec; const request = require('request'); const cheerio = require("cheerio");
-
@sdetweil said in MMM-bergfex not working:
npm install async --save
npm install sys – savein the MMM-bergfex folder?
-
@MajorC of course
-
sorry, I am totaly new to this world, my first Raspberry project.
pi@MagicMirror:~/MagicMirror/modules/MMM-bergfex $ npm install async --save npm WARN MMM-bergfex@ license should be a valid SPDX license expression + async@3.2.0 added 1 package from 1 contributor and audited 66 packages in 2.709s 2 packages are looking for funding run `npm fund` for details found 0 vulnerabilities pi@MagicMirror:~/MagicMirror/modules/MMM-bergfex $ npm install sys -- save npm WARN MMM-bergfex@ license should be a valid SPDX license expression + sys@0.0.1 + save@2.4.0 added 13 packages from 11 contributors and audited 79 packages in 8.763s 2 packages are looking for funding run `npm fund` for details found 0 vulnerabilities pi@MagicMirror:~/MagicMirror/modules/MMM-bergfex $
-
@MajorC and then start mm
-
well, I have my mirror back, including Bergfex Snow Report. At the moment there is only “loading…” visible.
I will double check my config.
Maybe you can include the help to the git? Would be nice to have it working as smooth as the rest in this wonderful project.
-
@MajorC he hasn’t updated in 2 years… so unlikely
-
And it is working.
This is important:
This is an array with strings of the skiareas to display. String must exactly match the name on http://www.bergfex.at/oesterreich/schneewerte/
-
@MajorC yes, precise config is required in each module. some don’t document well…