WouterEekhout / MMM-Tado

A MagicMirror Module for your Tado Smart Thermostat.
MIT License
6 stars 6 forks source link

install errors #17

Open Blayder1990 opened 2 years ago

Blayder1990 commented 2 years ago

Hey there,

did i need the Tado-abo to use these modul? if i want to install MMM-Tado, i get this issues i used the Version of MagicMirror 2.18.0

pi@raspberrypi:~/MagicMirror/modules/MMM-Tado $ sudo npm install

up to date, audited 107 packages in 5s

18 packages are looking for funding
  run `npm fund` for details

3 moderate severity vulnerabilities

To address all issues, run:
  npm audit fix

Run `npm audit` for details.

pi@raspberrypi:~/MagicMirror/modules/MMM-Tado $ npm fund
mmm-tado@1.0.0
├─┬ https://opencollective.com/mochajs
│ │ └── mocha@8.4.0
│ ├── https://github.com/sponsors/sindresorhus
│ │   └── escape-string-regexp@4.0.0, find-up@5.0.0, locate-path@6.0.0, p-locate@5.0.0, p-limit@3.1.0, yocto-queue@0.1.0, strip-json-comments@3.1.1, camelcase@6.3.0, decamelize@4.0.0
│ ├── https://github.com/sponsors/isaacs
│ │   └── glob@7.1.6
│ ├── https://github.com/chalk/supports-color?sponsor=1
│ │   └── supports-color@8.1.1
│ ├── https://github.com/sponsors/jonschlinkert
│ │   └── picomatch@2.3.1
│ ├─┬ https://github.com/chalk/chalk?sponsor=1
│ │ │ └── chalk@4.1.2
│ │ └── https://github.com/chalk/ansi-styles?sponsor=1
│ │     └── ansi-styles@4.3.0
│ ├── https://github.com/sponsors/feross
│ │   └── safe-buffer@5.2.1
│ └── https://github.com/chalk/wrap-ansi?sponsor=1
│     └── wrap-ansi@7.0.0
└── https://github.com/sponsors/RubenVerborgh
    └── follow-redirects@1.14.7

pi@raspberrypi:~/MagicMirror/modules/MMM-Tado $ sudo npm audit fix

up to date, audited 107 packages in 4s

18 packages are looking for funding
  run `npm fund` for details

# npm audit report

ansi-regex  >2.1.1 <5.0.1
Severity: moderate
 Inefficient Regular Expression Complexity in chalk/ansi-regex - https://github.com/advisories/GHSA-93q8-gq69-wqmw
fix available via `npm audit fix`
node_modules/ansi-regex
  strip-ansi  4.0.0 - 5.2.0
  Depends on vulnerable versions of ansi-regex
  node_modules/strip-ansi
    string-width  2.1.0 - 4.1.0
    Depends on vulnerable versions of strip-ansi
    node_modules/string-width

3 moderate severity vulnerabilities

To address all issues, run:
  npm audit fix

any ideas how to fix this?

my MagicMirror shows always black!

this is my config.js


let config = {
    ...
    language: "de",
    locale: "de-de",
    logLevel: ["INFO", "LOG", "WARN", "ERROR"], // Add "DEBUG" for even more logging
    timeFormat: 24,
    units: "metric",
    ...
    modules: [
        {
            module: "alert",
        },
        ...
        {
            module: "MMM-Tado",
            position: "bottom_right", // This can be any of the regions.
            header: "Tado",
            config: {
                username: "MyE-mail", 
                password: "myPW", 
                updateInterval: 30000
            }
        },
        ...
    ]
};

/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {module.exports = config;}
onisuk commented 2 years ago

This module is also breaking my MM now, used to work fine for ages!

this module now causes a white page and "localhost connection refused"

ran the fix audit and got this

`pi@raspberrypi:~/MagicMirror/modules/MMM-Tado $ sudo npm audit fix

up to date, audited 106 packages in 16s

18 packages are looking for funding run npm fund for details

npm audit report

ansi-regex >2.1.1 <5.0.1 Severity: moderate Inefficient Regular Expression Complexity in chalk/ansi-regex - https://github.com/advisories/GHSA-93q8-gq69-wqmw fix available via npm audit fix node_modules/ansi-regex strip-ansi 4.0.0 - 5.2.0 Depends on vulnerable versions of ansi-regex node_modules/strip-ansi string-width 2.1.0 - 4.1.0 Depends on vulnerable versions of strip-ansi node_modules/string-width

3 moderate severity vulnerabilities

To address all issues, run: npm audit fix`

mishu28nmv commented 2 years ago

You can copy your css, config and modules folders over vnc and then reinstall raspbian. Did that for RPi 3b+. Now I have 64bits Raspbian Bullseye installed. Install the MagicMirror and then overwrite the folders with the ones you copied. Maybe it helps!