MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    After update WARNING! Could not load config file.

    Scheduled Pinned Locked Moved Troubleshooting
    28 Posts 2 Posters 6.5k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • U Offline
      uok825 @sdetweil
      last edited by uok825

      @sdetweil said in After update WARNING! Could not load config file.:

      @uok825 thanks for posting… another troublesome module

      0|MagicMir | [2020-07-12 23:06:47.162] [ERROR]  WARNING! Could not load config file. Starting with default configuration. Error found: Error: The module '/home/pi/MagicMirror/modules/MMM-PIR/node_modules/epoll/build/Release/epoll.node'
      0|MagicMir | was compiled against a different Node.js version using
      0|MagicMir | NODE_MODULE_VERSION 73. This version of Node.js requires
      0|MagicMir | NODE_MODULE_VERSION 64. Please try re-compiling or re-installing
      

      do

      cd ~/MagicMirror
      npm install electron-rebuild
      cd modules/MMM-PIR
      ~/MagicMirror/node_modules/.bin/electron-rebuild
      pm2 flush
      

      then restart your MM

      let me know

      i got error but i cant share my log cause of “Post content was flagged as spam by Akismet.com” error in npm install electron-rebuild

      1 Reply Last reply Reply Quote 0
      • U Offline
        uok825 @sdetweil
        last edited by

        @sdetweil said in After update WARNING! Could not load config file.:

        @uok825 thanks for posting… another troublesome module

        0|MagicMir | [2020-07-12 23:06:47.162] [ERROR]  WARNING! Could not load config file. Starting with default configuration. Error found: Error: The module '/home/pi/MagicMirror/modules/MMM-PIR/node_modules/epoll/build/Release/epoll.node'
        0|MagicMir | was compiled against a different Node.js version using
        0|MagicMir | NODE_MODULE_VERSION 73. This version of Node.js requires
        0|MagicMir | NODE_MODULE_VERSION 64. Please try re-compiling or re-installing
        

        do

        cd ~/MagicMirror
        npm install electron-rebuild
        cd modules/MMM-PIR
        ~/MagicMirror/node_modules/.bin/electron-rebuild
        pm2 flush
        

        then restart your MM

        let me know

        ff1f5692-adb9-4dfa-b10c-e9a45e333d3e-image.png

        S 2 Replies Last reply Reply Quote 0
        • S Do not disturb
          sdetweil @uok825
          last edited by

          @uok825 sorry, dumb of me to take u down the electron path when u don’t have electron.

          cd ~/MagicMirror/modules/MMM-PIR
          npm rebuild
          

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • S Do not disturb
            sdetweil @uok825
            last edited by

            @uok825 any progress?

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            U 2 Replies Last reply Reply Quote 0
            • U Offline
              uok825 @sdetweil
              last edited by

              @sdetweil

              pi@raspberrypi:~/MagicMirror/modules/MMM-PIR $ npm rebuild
              
              > epoll@2.0.10 install /home/pi/MagicMirror/modules/MMM-PIR/node_modules/epoll
              > node-gyp rebuild
              
              make: Entering directory '/home/pi/MagicMirror/modules/MMM-PIR/node_modules/epol                                                                                                             l/build'
               CXX(target) Release/obj.target/epoll/src/epoll.o
               SOLINK_MODULE(target) Release/obj.target/epoll.node
               COPY Release/epoll.node
              make: Leaving directory '/home/pi/MagicMirror/modules/MMM-PIR/node_modules/epoll                                                                                                             /build'
              child_process@1.0.2 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/child_proc                                                                                                             ess
              electron-rebuild@1.11.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/electr                                                                                                             on-rebuild
              colors@1.4.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/colors
              debug@4.1.1 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/debug
              ms@2.1.2 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/ms
              detect-libc@1.0.3 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/detect-libc
              fs-extra@8.1.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/fs-extra
              graceful-fs@4.2.4 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/graceful-fs
              jsonfile@4.0.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/jsonfile
              universalify@0.1.2 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/universalif                                                                                                             y
              node-abi@2.18.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/node-abi
              semver@5.7.1 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/semver
              node-gyp@6.1.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/node-gyp
              env-paths@2.2.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/env-paths
              glob@7.1.6 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/glob
              fs.realpath@1.0.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/fs.realpath
              inflight@1.0.6 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/inflight
              once@1.4.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/once
              wrappy@1.0.2 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/wrappy
              inherits@2.0.4 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/inherits
              minimatch@3.0.4 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/minimatch
              brace-expansion@1.1.11 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/brace-e                                                                                                             xpansion
              balanced-match@1.0.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/balanced-                                                                                                             match
              concat-map@0.0.1 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/concat-map
              path-is-absolute@1.0.1 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/path-is                                                                                                             -absolute
              mkdirp@0.5.5 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/mkdirp
              minimist@1.2.5 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/minimist
              nopt@4.0.3 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/nopt
              abbrev@1.1.1 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/abbrev
              osenv@0.1.5 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/osenv
              os-homedir@1.0.2 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/os-homedir
              os-tmpdir@1.0.2 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/os-tmpdir
              npmlog@4.1.2 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/npmlog
              are-we-there-yet@1.1.5 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/are-we-                                                                                                             there-yet
              delegates@1.0.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/delegates
              readable-stream@2.3.7 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/readable                                                                                                             -stream
              core-util-is@1.0.2 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/core-util-i                                                                                                             s
              isarray@1.0.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/isarray
              process-nextick-args@2.0.1 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/pro                                                                                                             cess-nextick-args
              safe-buffer@5.1.2 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/safe-buffer
              string_decoder@1.1.1 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/string_de                                                                                                             coder
              util-deprecate@1.0.2 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/util-depr                                                                                                             ecate
              console-control-strings@1.1.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/                                                                                                             console-control-strings
              gauge@2.7.4 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/gauge
              aproba@1.2.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/aproba
              has-unicode@2.0.1 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/has-unicode
              object-assign@4.1.1 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/object-ass                                                                                                             ign
              signal-exit@3.0.3 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/signal-exit
              string-width@1.0.2 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/string-widt                                                                                                             h
              code-point-at@1.1.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/code-point                                                                                                             -at
              is-fullwidth-code-point@1.0.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/                                                                                                             is-fullwidth-code-point
              number-is-nan@1.0.1 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/number-is-                                                                                                             nan
              strip-ansi@3.0.1 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/strip-ansi
              ansi-regex@2.1.1 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/ansi-regex
              wide-align@1.1.3 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/wide-align
              set-blocking@2.0.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/set-blockin                                                                                                             g
              request@2.88.2 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/request
              aws-sign2@0.7.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/aws-sign2
              aws4@1.10.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/aws4
              caseless@0.12.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/caseless
              combined-stream@1.0.8 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/combined                                                                                                             -stream
              delayed-stream@1.0.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/delayed-s                                                                                                             tream
              extend@3.0.2 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/extend
              forever-agent@0.6.1 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/forever-ag                                                                                                             ent
              form-data@2.3.3 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/form-data
              asynckit@0.4.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/asynckit
              mime-types@2.1.27 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/mime-types
              mime-db@1.44.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/mime-db
              har-validator@5.1.3 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/har-valida                                                                                                             tor
              ajv@6.12.3 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/ajv
              fast-deep-equal@3.1.3 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/fast-dee                                                                                                             p-equal
              fast-json-stable-stringify@2.1.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modul                                                                                                             es/fast-json-stable-stringify
              json-schema-traverse@0.4.1 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/jso                                                                                                             n-schema-traverse
              uri-js@4.2.2 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/uri-js
              punycode@2.1.1 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/punycode
              har-schema@2.0.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/har-schema
              http-signature@1.2.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/http-sign                                                                                                             ature
              assert-plus@1.0.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/assert-plus
              jsprim@1.4.1 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/jsprim
              extsprintf@1.3.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/extsprintf
              json-schema@0.2.3 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/json-schema
              verror@1.10.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/verror
              sshpk@1.16.1 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/sshpk
              asn1@0.2.4 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/asn1
              safer-buffer@2.1.2 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/safer-buffe                                                                                                             r
              bcrypt-pbkdf@1.0.2 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/bcrypt-pbkd                                                                                                             f
              tweetnacl@0.14.5 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/tweetnacl
              dashdash@1.14.1 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/dashdash
              ecc-jsbn@0.1.2 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/ecc-jsbn
              jsbn@0.1.1 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/jsbn
              getpass@0.1.7 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/getpass
              is-typedarray@1.0.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/is-typedar                                                                                                             ray
              isstream@0.1.2 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/isstream
              json-stringify-safe@5.0.1 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/json                                                                                                             -stringify-safe
              oauth-sign@0.9.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/oauth-sign
              performance-now@2.1.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/performa                                                                                                             nce-now
              qs@6.5.2 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/qs
              tough-cookie@2.5.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/tough-cooki                                                                                                             e
              psl@1.8.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/psl
              tunnel-agent@0.6.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/tunnel-agen                                                                                                             t
              uuid@3.4.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/uuid
              rimraf@2.7.1 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/rimraf
              tar@4.4.13 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/tar
              chownr@1.1.4 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/chownr
              fs-minipass@1.2.7 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/fs-minipass
              minipass@2.9.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/minipass
              yallist@3.1.1 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/yallist
              minizlib@1.3.3 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/minizlib
              which@1.3.1 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/which
              isexe@2.0.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/isexe
              ora@3.4.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/ora
              chalk@2.4.2 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/chalk
              ansi-styles@3.2.1 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/ansi-styles
              color-convert@1.9.3 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/color-conv                                                                                                             ert
              color-name@1.1.3 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/color-name
              escape-string-regexp@1.0.5 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/esc                                                                                                             ape-string-regexp
              supports-color@5.5.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/supports-                                                                                                             color
              has-flag@3.0.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/has-flag
              cli-cursor@2.1.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/cli-cursor
              restore-cursor@2.0.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/restore-c                                                                                                             ursor
              onetime@2.0.1 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/onetime
              mimic-fn@1.2.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/mimic-fn
              cli-spinners@2.3.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/cli-spinner                                                                                                             s
              log-symbols@2.2.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/log-symbols
              strip-ansi@5.2.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/ora/node_modu                                                                                                             les/strip-ansi
              ansi-regex@4.1.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/ora/node_modu                                                                                                             les/ansi-regex
              wcwidth@1.0.1 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/wcwidth
              defaults@1.0.3 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/defaults
              clone@1.0.4 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/clone
              spawn-rx@3.0.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/spawn-rx
              debug@2.6.9 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/spawn-rx/node_modu                                                                                                             les/debug
              ms@2.0.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/spawn-rx/node_modules                                                                                                             /ms
              lodash.assign@4.2.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/lodash.ass                                                                                                             ign
              rxjs@6.6.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/rxjs
              tslib@1.13.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/tslib
              yargs@14.2.3 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/yargs
              cliui@5.0.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/cliui
              string-width@3.1.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/cliui/node_                                                                                                             modules/string-width
              emoji-regex@7.0.3 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/emoji-regex
              is-fullwidth-code-point@2.0.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/                                                                                                             cliui/node_modules/is-fullwidth-code-point
              strip-ansi@5.2.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/cliui/node_mo                                                                                                             dules/strip-ansi
              ansi-regex@4.1.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/cliui/node_mo                                                                                                             dules/ansi-regex
              wrap-ansi@5.1.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/wrap-ansi
              string-width@3.1.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/wrap-ansi/n                                                                                                             ode_modules/string-width
              is-fullwidth-code-point@2.0.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/                                                                                                             wrap-ansi/node_modules/is-fullwidth-code-point
              strip-ansi@5.2.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/wrap-ansi/nod                                                                                                             e_modules/strip-ansi
              ansi-regex@4.1.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/wrap-ansi/nod                                                                                                             e_modules/ansi-regex
              decamelize@1.2.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/decamelize
              find-up@3.0.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/find-up
              locate-path@3.0.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/locate-path
              p-locate@3.0.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/p-locate
              p-limit@2.3.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/p-limit
              p-try@2.2.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/p-try
              path-exists@3.0.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/path-exists
              get-caller-file@2.0.5 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/get-call                                                                                                             er-file
              require-directory@2.1.1 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/requir                                                                                                             e-directory
              require-main-filename@2.0.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/re                                                                                                             quire-main-filename
              string-width@3.1.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/yargs/node_                                                                                                             modules/string-width
              is-fullwidth-code-point@2.0.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/                                                                                                             yargs/node_modules/is-fullwidth-code-point
              strip-ansi@5.2.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/yargs/node_mo                                                                                                             dules/strip-ansi
              ansi-regex@4.1.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/yargs/node_mo                                                                                                             dules/ansi-regex
              which-module@2.0.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/which-modul                                                                                                             e
              y18n@4.0.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/y18n
              yargs-parser@15.0.1 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/yargs-pars                                                                                                             er
              camelcase@5.3.1 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/camelcase
              onoff@2.0.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/onoff
              epoll@2.0.10 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/epoll
              bindings@1.5.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/bindings
              file-uri-to-path@1.0.0 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/file-ur                                                                                                             i-to-path
              nan@2.14.1 /home/pi/MagicMirror/modules/MMM-PIR/node_modules/nan
              
              
              1 Reply Last reply Reply Quote 0
              • U Offline
                uok825 @sdetweil
                last edited by

                @sdetweil

                0|MagicMir | [2020-07-13 18:04:01.849] [ERROR]  WARNING! Could not validate config file. Starting with default configuration. Please correct syntax errors at or above this line: ReferenceError: NodeHelper is not defined
                0|MagicMir |     at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-PIR/node_helper.js:11:18)
                0|MagicMir |     at Module._compile (internal/modules/cjs/loader.js:778:30)
                0|MagicMir |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
                0|MagicMir |     at Module.load (internal/modules/cjs/loader.js:653:32)
                0|MagicMir |     at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
                0|MagicMir |     at Function.Module._load (internal/modules/cjs/loader.js:585:3)
                0|MagicMir |     at Module.require (internal/modules/cjs/loader.js:692:17)
                0|MagicMir |     at require (internal/modules/cjs/helpers.js:25:18)
                0|MagicMir |     at loadModule (/home/pi/MagicMirror/js/app.js:124:17)
                0|MagicMir |     at loadNextModule (/home/pi/MagicMirror/js/app.js:158:5)
                0|MagicMir | [2020-07-13 18:04:02.059] [ERROR]  Whoops! There was an uncaught exception...
                0|MagicMir | [2020-07-13 18:04:02.071] [ERROR]  ReferenceError: NodeHelper is not defined
                0|MagicMir |     at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-PIR/node_helper.js:11:18)
                0|MagicMir |     at Module._compile (internal/modules/cjs/loader.js:778:30)
                0|MagicMir |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
                0|MagicMir |     at Module.load (internal/modules/cjs/loader.js:653:32)
                0|MagicMir |     at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
                0|MagicMir |     at Function.Module._load (internal/modules/cjs/loader.js:585:3)
                0|MagicMir |     at Module.require (internal/modules/cjs/loader.js:692:17)
                0|MagicMir |     at require (internal/modules/cjs/helpers.js:25:18)
                0|MagicMir |     at loadModule (/home/pi/MagicMirror/js/app.js:124:17)
                0|MagicMir |     at loadNextModule (/home/pi/MagicMirror/js/app.js:158:5)
                0|MagicMir | [2020-07-13 18:04:02.143] [ERROR]  MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
                0|MagicMir | [2020-07-13 18:04:02.145] [ERROR]  If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
                
                

                Same

                S 1 Reply Last reply Reply Quote 0
                • S Do not disturb
                  sdetweil @uok825
                  last edited by

                  @uok825 what a mess.

                  so. now I think u need to erase module folder and then reinstall module. the two back recovery mechanisms don’t work

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  U 2 Replies Last reply Reply Quote 0
                  • U Offline
                    uok825 @sdetweil
                    last edited by

                    @sdetweil ok

                    1 Reply Last reply Reply Quote 0
                    • U Offline
                      uok825 @sdetweil
                      last edited by

                      @sdetweil Not working

                      S 1 Reply Last reply Reply Quote 0
                      • S Do not disturb
                        sdetweil @uok825
                        last edited by

                        @uok825 man what a pain,

                        ok, delete the module folder (MMM-PIR) and then reclone and npm install

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        U 1 Reply Last reply Reply Quote 0
                        • U Offline
                          uok825 @sdetweil
                          last edited by

                          @sdetweil I already did and my relay is not working i was pissed of so much.
                          i need to unbuilt my mirror :(
                          and my weather forecast shows 2 day
                          9f1e6456-8c62-4df0-8d58-4bef1c17093e-image.png

                          S 1 Reply Last reply Reply Quote 0
                          • S Do not disturb
                            sdetweil @uok825
                            last edited by

                            @uok825 2 days, bug, switch to develop branch

                            cd ~/MagicMirror
                            git fetch origin develop:develop
                            git checkout develop
                            

                            then restart MM

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

                            U 1 Reply Last reply Reply Quote 0
                            • U Offline
                              uok825 @sdetweil
                              last edited by

                              @sdetweil 2e5899db-9c1a-4f06-a725-e8e4b9316c61-image.png

                              S 1 Reply Last reply Reply Quote 0
                              • S Do not disturb
                                sdetweil @uok825
                                last edited by

                                @uok825
                                do

                                # remove tracked file, un-needed
                                rm package-lock.json
                                # save the package.json changes
                                git stash
                                # switch to the other branch
                                git checkout develop
                                # restore the package.json file
                                git stash pop
                                

                                restart mm

                                Sam

                                How to add modules

                                learning how to use browser developers window for css changes

                                U 1 Reply Last reply Reply Quote 1
                                • U Offline
                                  uok825 @sdetweil
                                  last edited by

                                  @sdetweil in mm folder right?

                                  S 1 Reply Last reply Reply Quote 0
                                  • S Do not disturb
                                    sdetweil @uok825
                                    last edited by

                                    @uok825 yes

                                    Sam

                                    How to add modules

                                    learning how to use browser developers window for css changes

                                    U 1 Reply Last reply Reply Quote 0
                                    • U Offline
                                      uok825 @sdetweil
                                      last edited by

                                      @sdetweil 18b7adfb-e2b0-454e-a2f8-a8d8714809e9-image.png

                                      S 1 Reply Last reply Reply Quote 0
                                      • S Do not disturb
                                        sdetweil @uok825
                                        last edited by

                                        @uok825 yeh, always something…
                                        execute the two git commands

                                        in the script I do this

                                         git config --global user.name "upgrade_script"
                                         git config --global user.email "script@upgrade.com"
                                        

                                        then resume the prior commands at git stash

                                        Sam

                                        How to add modules

                                        learning how to use browser developers window for css changes

                                        U 1 Reply Last reply Reply Quote 1
                                        • U Offline
                                          uok825 @sdetweil
                                          last edited by

                                          @sdetweil i did restarting mm.

                                          S 1 Reply Last reply Reply Quote 0
                                          • S Do not disturb
                                            sdetweil @uok825
                                            last edited by

                                            @uok825 and after all that weather should show more than 2 days

                                            Sam

                                            How to add modules

                                            learning how to use browser developers window for css changes

                                            U 1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post
                                            Enjoying MagicMirror? Please consider a donation!
                                            MagicMirror created by Michael Teeuw.
                                            Forum managed by Sam, technical setup by Karsten.
                                            This forum is using NodeBB as its core | Contributors
                                            Contact | Privacy Policy