MagicMirror² v2.12.0 is available! For more information about this release, check out this topic.

Issues with the French translation in MMM-rfacts



  • hello everybody,

    is there some people having problems to translate the result of module MMM rfacts? many times error and return to english.
    Thanks



  • @chassain-0

    It’s ok after npm install -g npm@latest and npm install -g n
    n stable

    thanks…i thought sudo apt-get update and upgrade was enough


  • Project Sponsor Module Developer

    @chassain-0

    I just installed this module. It seems to work fine with french translation.

    Have you installed the dependencies?
    npm install in the MMM-rfacts directory.

    Is the language set correctly in your config.js file?
    language: "fr",



  • Hello Myke1,

    It was good one month ago but now, after a new npm install i have error :

    (node:1031) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
    npm WARN package.json json-schema@0.2.3 No license field.
    npm WARN package.json punycode@2.1.1 punycode is also the name of a node core module.
    npm ERR! Error: Method Not Allowed
    npm ERR! at errorResponse (/usr/share/npm/lib/cache/add-named.js:260:10)
    npm ERR! at /usr/share/npm/lib/cache/add-named.js:203:12
    npm ERR! at saved (/usr/share/npm/node_modules/npm-registry-client/lib/get.js:167:7)
    npm ERR! at FSReqWrap.oncomplete (fs.js:135:15)
    npm ERR! If you need help, you may report this entire log,
    npm ERR! including the npm and node versions, at:
    npm ERR!

    npm ERR! System Linux 4.19.68-v7+
    npm ERR! command “/usr/bin/node” “/usr/bin/npm” “install”
    npm ERR! cwd /home/pi/MagicMirror/modules/MMM-rfacts
    npm ERR! node -v v8.11.1
    npm ERR! npm -v 1.4.21
    npm ERR! code E405
    npm ERR!
    npm ERR! Additional logging details can be found in:
    npm ERR! /home/pi/MagicMirror/modules/MMM-rfacts/npm-debug.log
    npm ERR! not ok code 0



  • @chassain-0

    It’s ok after npm install -g npm@latest and npm install -g n
    n stable

    thanks…i thought sudo apt-get update and upgrade was enough


  • Project Sponsor Module Developer

    @chassain-0

    Yes, being down level node and npm makes MM unhappy at times. Glad you got things working.


Log in to reply