• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

Update MMM

Scheduled Pinned Locked Moved Solved Troubleshooting
75 Posts 8 Posters 28.9k Views 9 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.
  • J Offline
    jims
    last edited by Apr 2, 2020, 9:17 AM

    And during the update :

    
    
    pi@raspberrypi:~/MagicMirror $ git pull && npm install
    Mise à jour 5bf90ae..447c0bf
    Fast-forward
     .eslintrc.json                                     |    1 +
     .github/ISSUE_TEMPLATE.md                          |   21 +-
     .travis.yml                                        |   27 +-
     CHANGELOG.md                                       |   59 +-
     Gruntfile.js                                       |   13 +-
     clientonly/index.js                                |    2 -
     config/config.js.sample                            |   18 +-
     index.html                                         |    2 +-
     installers/dumpactivemodules.js                    |   15 -
     installers/fixuppm2.sh                             |  183 -
     installers/mm.sh                                   |    1 +
     installers/pm2_MagicMirror.json                    |    7 -
     installers/postinstall/postinstall.sh              |    2 -
     installers/raspberry.sh                            |  569 ---
     installers/screensaveroff.sh                       |  101 -
     installers/upgrade-script.sh                       |  361 --
     js/app.js                                          |   11 +-
     js/electron.js                                     |    2 -
     js/loader.js                                       |    6 +-
     js/main.js                                         |   15 +-
     js/module.js                                       |   11 +-
     js/node_helper.js                                  |    4 +-
     js/server.js                                       |   14 +-
     js/socketclient.js                                 |    8 +-
     modules/README.md                                  |  721 ----
     modules/default/alert/README.md                    |   63 +-
     modules/default/calendar/README.md                 |  105 +-
     modules/default/calendar/calendar.js               |    4 +-
     modules/default/calendar/calendarfetcher.js        |   13 +-
     modules/default/calendar/debug.js                  |    2 +-
     .../default/calendar/vendor/ical.js/node-ical.js   |   15 +-
     modules/default/clock/README.md                    |   54 +-
     modules/default/clock/clock.js                     |   58 +-
     modules/default/clock/clock_screenshot.png         |  Bin 30525 -> 0 bytes
     modules/default/clock/clock_styles.css             |   10 +
     modules/default/compliments/README.md              |  148 +-
     modules/default/compliments/compliments.js         |   41 +-
     .../default/compliments/compliments_screenshot.png |  Bin 26157 -> 0 bytes
     modules/default/currentweather/README.md           |   86 +-
     modules/default/currentweather/currentweather.js   |   23 +-
     .../default/currentweather/weather_screenshot.png  |  Bin 38566 -> 0 bytes
     modules/default/helloworld/README.md               |   23 +-
     modules/default/newsfeed/README.md                 |  104 +-
     modules/default/newsfeed/newsfeed.js               |    5 +-
     modules/default/newsfeed/newsfeed_screenshot.png   |  Bin 45375 -> 0 bytes
     modules/default/updatenotification/README.md       |   24 +-
     modules/default/updatenotification/node_helper.js  |   74 +-
     .../updatenotification/updatenotification.js       |    1 +
     modules/default/weather/README.md                  |  117 +-
     modules/default/weather/current.png                |  Bin 8141 -> 0 bytes
     modules/default/weather/forecast.png               |  Bin 16385 -> 0 bytes
     modules/default/weatherforecast/README.md          |   79 +-
     .../weatherforecast/forecast_screenshot.png        |  Bin 86206 -> 0 bytes
     package-lock.json                                  | 4524 +++++++++-----------
     package.json                                       |   21 +-
     run-start.sh                                       |   67 -
     serveronly/index.js                                |    3 +-
     tests/configs/check_config.js                      |   14 +-
     .../modules/compliments/compliments_date.js        |   41 +
     .../modules/weather/forecastweather_default.js     |   46 +-
     .../modules/weather/forecastweather_options.js     |   52 +-
     tests/e2e/modules/compliments_spec.js              |   15 +
     tests/e2e/modules/mocks/weather_current.js         |   98 +-
     tests/e2e/modules/mocks/weather_forecast.js        |  184 +-
     tests/e2e/modules/weather_spec.js                  |   39 +-
     tests/e2e/vendor_spec.js                           |   15 +-
     tests/node_modules/webdriverajaxstub/index.js      |    4 +-
     tests/unit/functions/currentweather_spec.js        |    1 +
     tests/unit/functions/weatherforecast_spec.js       |    1 +
     translations/fi.json                               |    5 +-
     translations/he.json                               |   36 +
     translations/hr.json                               |    2 +-
     translations/pl.json                               |    3 +-
     translations/pt-br.json                            |    5 +-
     translations/tr.json                               |   14 +-
     translations/translations.js                       |   10 +-
     translations/uk.json                               |   36 +
     untrack-css.sh                                     |   11 -
     78 files changed, 2680 insertions(+), 5790 deletions(-)
     mode change 100755 => 100644 CHANGELOG.md
     delete mode 100644 installers/dumpactivemodules.js
     delete mode 100755 installers/fixuppm2.sh
     delete mode 100644 installers/pm2_MagicMirror.json
     delete mode 100644 installers/postinstall/postinstall.sh
     delete mode 100755 installers/raspberry.sh
     delete mode 100755 installers/screensaveroff.sh
     delete mode 100755 installers/upgrade-script.sh
     delete mode 100644 modules/README.md
     delete mode 100644 modules/default/clock/clock_screenshot.png
     delete mode 100644 modules/default/compliments/compliments_screenshot.png
     delete mode 100644 modules/default/currentweather/weather_screenshot.png
     delete mode 100644 modules/default/newsfeed/newsfeed_screenshot.png
     delete mode 100644 modules/default/weather/current.png
     delete mode 100644 modules/default/weather/forecast.png
     delete mode 100644 modules/default/weatherforecast/forecast_screenshot.png
     delete mode 100755 run-start.sh
     create mode 100644 tests/configs/modules/compliments/compliments_date.js
     create mode 100644 translations/he.json
     create mode 100644 translations/uk.json
     delete mode 100755 untrack-css.sh
    npm WARN deprecated @types/vfile-message@2.0.0: This is a stub types definition.                                      vfile-message provides its own type definitions, so you do not need this instal                                     led.
    
    > electron-chromedriver@6.0.0 install /home/pi/MagicMirror/node_modules/electron                                     -chromedriver
    > node ./download-chromedriver.js
    
    
    > electron@6.1.7 postinstall /home/pi/MagicMirror/node_modules/electron
    > node install.js
    
    Downloading tmp-1525-1-SHASUMS256.txt-6.1.7
    [============================================>] 100.0% of 5.56 kB (5.56 kB/s)
    
    > magicmirror@2.11.0 install /home/pi/MagicMirror
    > echo "Installing vendor files ...
    " && cd vendor && npm install --loglevel=error
    
    Installing vendor files ...
    
    audited 220 packages in 25.414s
    found 8 vulnerabilities (7 low, 1 high)
      run `npm audit fix` to fix them, or `npm audit` for details
    
    > magicmirror@2.11.0 postinstall /home/pi/MagicMirror
    > npm run install-fonts && echo "MagicMirror installation finished successfully!                                     
    "
    
    
    > magicmirror@2.11.0 install-fonts /home/pi/MagicMirror
    > echo "Installing fonts ...
    " && cd fonts && npm install --loglevel=error
    
    Installing fonts ...
    
    audited 1 package in 3.182s
    found 0 vulnerabilities
    
    MagicMirror installation finished successfully!
    
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules/fse                                     vents):
    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@                                     2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}                                     )
    
    added 124 packages from 84 contributors, removed 79 packages, updated 54 package                                     s and moved 1 package in 774.482s
    
    26 packages are looking for funding
      run `npm fund` for details
    
    pi@raspberrypi:~/MagicMirror $ sudo reboot
    
    
    
    pi@raspberrypi:~ $ npm start
    npm ERR! code ENOENT
    npm ERR! syscall open
    npm ERR! path /home/pi/package.json
    npm ERR! errno -2
    npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json'
    npm ERR! enoent This is related to npm not being able to find a file.
    npm ERR! enoent
    
    npm ERR! A complete log of this run can be found in:
    npm ERR!     /home/pi/.npm/_logs/2020-04-02T07_56_36_218Z-debug.log
    pi@raspberrypi:~ $ cd MagicMirror/
    pi@raspberrypi:~/MagicMirror $ npm start
    
    > magicmirror@2.11.0 start /home/pi/MagicMirror
    > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
    
    [2020-04-02 09:57:00.458] [LOG]    Starting MagicMirror: v2.11.0
    [2020-04-02 09:57:00.477] [LOG]    Loading config ...
    [2020-04-02 09:57:00.488] [LOG]    Loading module helpers ...
    [2020-04-02 09:57:00.492] [LOG]    No helper found for module: alert.
    [2020-04-02 09:57:00.601] [LOG]    Initializing new module helper ...
    [2020-04-02 09:57:00.604] [LOG]    Module helper loaded: updatenotification
    [2020-04-02 09:57:00.607] [LOG]    No helper found for module: clock.
    [2020-04-02 09:57:01.480] [LOG]    Initializing new module helper ...
    [2020-04-02 09:57:01.481] [LOG]    Module helper loaded: calendar
    [2020-04-02 09:57:01.700] [LOG]    Initializing new module helper ...
    [2020-04-02 09:57:01.703] [LOG]    Module helper loaded: MMM-Selfieshot
    [2020-04-02 09:57:01.705] [LOG]    No helper found for module: compliments.
    [2020-04-02 09:57:01.708] [LOG]    No helper found for module: currentweather.
    [2020-04-02 09:57:01.711] [LOG]    No helper found for module: weatherforecast.
    [2020-04-02 09:57:02.820] [LOG]    Initializing new module helper ...
    [2020-04-02 09:57:02.822] [LOG]    Check MagicMirror version for node helper 'MM                                     M-Strava' - Minimum version:  2.2.0 - Current version: 2.11.0
    [2020-04-02 09:57:02.823] [LOG]    Version is ok!
    [2020-04-02 09:57:02.824] [LOG]    Module helper loaded: MMM-Strava
    [2020-04-02 09:57:02.861] [ERROR]  WARNING! Could not load config file. Starting                                      with default configuration. Error found: Error: The module '/home/pi/MagicMirro                                     r/modules/MMM-PIR-Sensor/node_modules/epoll/build/Release/epoll.node'
    was compiled against a different Node.js version using
    NODE_MODULE_VERSION 64. This version of Node.js requires
    NODE_MODULE_VERSION 73. Please try re-compiling or re-installing
    the module (for instance, using `npm rebuild` or `npm install`).
    [2020-04-02 09:57:02.864] [LOG]    Loading module helpers ...
    [2020-04-02 09:57:02.867] [LOG]    No helper found for module: alert.
    [2020-04-02 09:57:02.869] [LOG]    Initializing new module helper ...
    [2020-04-02 09:57:02.871] [LOG]    Module helper loaded: updatenotification
    [2020-04-02 09:57:02.873] [LOG]    No helper found for module: clock.
    [2020-04-02 09:57:02.875] [LOG]    Initializing new module helper ...
    [2020-04-02 09:57:02.877] [LOG]    Module helper loaded: calendar
    [2020-04-02 09:57:02.878] [LOG]    Initializing new module helper ...
    [2020-04-02 09:57:02.879] [LOG]    Module helper loaded: MMM-Selfieshot
    [2020-04-02 09:57:02.881] [LOG]    No helper found for module: compliments.
    [2020-04-02 09:57:02.882] [LOG]    No helper found for module: currentweather.
    [2020-04-02 09:57:02.883] [LOG]    No helper found for module: weatherforecast.
    [2020-04-02 09:57:02.884] [LOG]    Initializing new module helper ...
    [2020-04-02 09:57:02.885] [LOG]    Check MagicMirror version for node helper 'MM                                     M-Strava' - Minimum version:  2.2.0 - Current version: 2.11.0
    [2020-04-02 09:57:02.886] [LOG]    Version is ok!
    [2020-04-02 09:57:02.887] [LOG]    Module helper loaded: MMM-Strava
    [2020-04-02 09:57:02.899] [ERROR]  App threw an error during load
    [2020-04-02 09:57:02.902] [ERROR]  Error: The module '/home/pi/MagicMirror/modul                                     es/MMM-PIR-Sensor/node_modules/epoll/build/Release/epoll.node'
    was compiled against a different Node.js version using
    NODE_MODULE_VERSION 64. This version of Node.js requires
    NODE_MODULE_VERSION 73. Please try re-compiling or re-installing
    the module (for instance, using `npm rebuild` or `npm install`).
        at process.func (electron/js2c/asar.js:138:31)
        at process.func [as dlopen] (electron/js2c/asar.js:138:31)
        at Object.Module._extensions..node (internal/modules/cjs/loader.js:828:18)
        at Object.func (electron/js2c/asar.js:138:31)
        at Object.func [as .node] (electron/js2c/asar.js:138:31)
        at Module.load (internal/modules/cjs/loader.js:645:32)
        at Function.Module._load (internal/modules/cjs/loader.js:560:12)
        at Module.require (internal/modules/cjs/loader.js:685:19)
        at require (internal/modules/cjs/helpers.js:16:16)
        at bindings (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/bindin                                     gs/bindings.js:112:48)
        at /home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/epoll/epoll.js:7                                     :31
        at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modu                                     les/epoll/epoll.js:15:3)
        at Module._compile (internal/modules/cjs/loader.js:786:30)
        at Object.Module._extensions..js (internal/modules/cjs/loader.js:798:10)
        at Module.load (internal/modules/cjs/loader.js:645:32)
        at Function.Module._load (internal/modules/cjs/loader.js:560:12)
        at Module.require (internal/modules/cjs/loader.js:685:19)
        at require (internal/modules/cjs/helpers.js:16:16)
        at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modu                                     les/onoff/onoff.js:5:15)
        at Module._compile (internal/modules/cjs/loader.js:786:30)
        at Object.Module._extensions..js (internal/modules/cjs/loader.js:798:10)
        at Module.load (internal/modules/cjs/loader.js:645:32)
    [2020-04-02 09:57:02.907] [LOG]    Whoops! There was an uncaught exception...
    [2020-04-02 09:57:02.909] [ERROR]  Error: The module '/home/pi/MagicMirror/modul                                     es/MMM-PIR-Sensor/node_modules/epoll/build/Release/epoll.node'
    was compiled against a different Node.js version using
    NODE_MODULE_VERSION 64. This version of Node.js requires
    NODE_MODULE_VERSION 73. Please try re-compiling or re-installing
    the module (for instance, using `npm rebuild` or `npm install`).
        at process.func (electron/js2c/asar.js:138:31)
        at process.func [as dlopen] (electron/js2c/asar.js:138:31)
        at Object.Module._extensions..node (internal/modules/cjs/loader.js:828:18)
        at Object.func (electron/js2c/asar.js:138:31)
        at Object.func [as .node] (electron/js2c/asar.js:138:31)
        at Module.load (internal/modules/cjs/loader.js:645:32)
        at Function.Module._load (internal/modules/cjs/loader.js:560:12)
        at Module.require (internal/modules/cjs/loader.js:685:19)
        at require (internal/modules/cjs/helpers.js:16:16)
        at bindings (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/bindin                                     gs/bindings.js:112:48)
        at /home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/epoll/epoll.js:7                                     :31
        at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modu                                     les/epoll/epoll.js:15:3)
        at Module._compile (internal/modules/cjs/loader.js:786:30)
        at Object.Module._extensions..js (internal/modules/cjs/loader.js:798:10)
        at Module.load (internal/modules/cjs/loader.js:645:32)
        at Function.Module._load (internal/modules/cjs/loader.js:560:12)
        at Module.require (internal/modules/cjs/loader.js:685:19)
        at require (internal/modules/cjs/helpers.js:16:16)
        at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modu                                     les/onoff/onoff.js:5:15)
        at Module._compile (internal/modules/cjs/loader.js:786:30)
        at Object.Module._extensions..js (internal/modules/cjs/loader.js:798:10)
        at Module.load (internal/modules/cjs/loader.js:645:32)
    [2020-04-02 09:57:02.917] [LOG]    MagicMirror will not quit, but it might be a                                      good idea to check why this happened. Maybe no internet connection?
    [2020-04-02 09:57:02.918] [LOG]    If you think this really is an issue, please                                      open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
    [2020-04-02 09:57:03.080] [LOG]    Launching application.
    
    
    
    ^C[2020-04-02 09:59:16.827] [LOG]    Shutting down server...
    [2020-04-02 09:59:16.835] [LOG]    Stopping module helper: updatenotification
    [2020-04-02 09:59:16.836] [LOG]    Stopping module helper: calendar
    [2020-04-02 09:59:16.837] [LOG]    Stopping module helper: MMM-Selfieshot
    [2020-04-02 09:59:16.838] [LOG]    Stopping module helper: MMM-Strava
    [2020-04-02 09:59:16.839] [LOG]    Stopping module helper: updatenotification
    [2020-04-02 09:59:16.840] [LOG]    Stopping module helper: calendar
    [2020-04-02 09:59:16.842] [LOG]    Stopping module helper: MMM-Selfieshot
    [2020-04-02 09:59:16.843] [LOG]    Stopping module helper: MMM-Strava
    
    pi@raspberrypi:~/MagicMirror $ npm start
    
    > magicmirror@2.11.0 start /home/pi/MagicMirror
    > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
    
    [2020-04-02 09:59:39.647] [LOG]    Starting MagicMirror: v2.11.0
    [2020-04-02 09:59:39.665] [LOG]    Loading config ...
    [2020-04-02 09:59:39.675] [LOG]    Loading module helpers ...
    [2020-04-02 09:59:39.682] [LOG]    No helper found for module: alert.
    [2020-04-02 09:59:39.796] [LOG]    Initializing new module helper ...
    [2020-04-02 09:59:39.798] [LOG]    Module helper loaded: updatenotification
    [2020-04-02 09:59:39.799] [LOG]    No helper found for module: clock.
    [2020-04-02 09:59:40.636] [LOG]    Initializing new module helper ...
    [2020-04-02 09:59:40.637] [LOG]    Module helper loaded: calendar
    [2020-04-02 09:59:40.856] [LOG]    Initializing new module helper ...
    [2020-04-02 09:59:40.858] [LOG]    Module helper loaded: MMM-Selfieshot
    [2020-04-02 09:59:40.861] [LOG]    No helper found for module: compliments.
    [2020-04-02 09:59:40.862] [LOG]    No helper found for module: currentweather.
    [2020-04-02 09:59:40.864] [LOG]    No helper found for module: weatherforecast.
    [2020-04-02 09:59:41.992] [LOG]    Initializing new module helper ...
    [2020-04-02 09:59:41.994] [LOG]    Check MagicMirror version for node helper 'MMM-Strava' - Minimum version:  2.2.0 - Current version: 2.11.0
    [2020-04-02 09:59:41.996] [LOG]    Version is ok!
    [2020-04-02 09:59:41.997] [LOG]    Module helper loaded: MMM-Strava
    [2020-04-02 09:59:42.049] [LOG]    Initializing new module helper ...
    [2020-04-02 09:59:42.051] [LOG]    Module helper loaded: newsfeed
    [2020-04-02 09:59:42.054] [LOG]    No helper found for module: MMM-YouTube.
    [2020-04-02 09:59:42.074] [LOG]    Initializing new module helper ...
    [2020-04-02 09:59:42.076] [LOG]    Module helper loaded: MMM-Spotify
    [2020-04-02 09:59:42.382] [ERROR]  WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module '/home/pi/MagicMirror/modules/MMM-Hotword/snowboy/lib/node/binding/Release/electron-v6.1-linux-arm/snowboy.node'
    Require stack:
    - /home/pi/MagicMirror/modules/MMM-Hotword/snowboy/lib/node/index.js
    - /home/pi/MagicMirror/modules/MMM-Hotword/node_helper.js
    - /home/pi/MagicMirror/js/app.js
    - /home/pi/MagicMirror/js/electron.js
    - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
    -
    [2020-04-02 09:59:42.385] [LOG]    Loading module helpers ...
    [2020-04-02 09:59:42.388] [LOG]    No helper found for module: alert.
    [2020-04-02 09:59:42.391] [LOG]    Initializing new module helper ...
    [2020-04-02 09:59:42.392] [LOG]    Module helper loaded: updatenotification
    [2020-04-02 09:59:42.394] [LOG]    No helper found for module: clock.
    [2020-04-02 09:59:42.396] [LOG]    Initializing new module helper ...
    [2020-04-02 09:59:42.397] [LOG]    Module helper loaded: calendar
    [2020-04-02 09:59:42.398] [LOG]    Initializing new module helper ...
    [2020-04-02 09:59:42.398] [LOG]    Module helper loaded: MMM-Selfieshot
    [2020-04-02 09:59:42.400] [LOG]    No helper found for module: compliments.
    [2020-04-02 09:59:42.401] [LOG]    No helper found for module: currentweather.
    [2020-04-02 09:59:42.402] [LOG]    No helper found for module: weatherforecast.
    [2020-04-02 09:59:42.403] [LOG]    Initializing new module helper ...
    [2020-04-02 09:59:42.404] [LOG]    Check MagicMirror version for node helper 'MMM-Strava' - Minimum version:  2.2.0 - Current version: 2.11.0
    [2020-04-02 09:59:42.405] [LOG]    Version is ok!
    [2020-04-02 09:59:42.406] [LOG]    Module helper loaded: MMM-Strava
    [2020-04-02 09:59:42.407] [LOG]    Initializing new module helper ...
    [2020-04-02 09:59:42.408] [LOG]    Module helper loaded: newsfeed
    [2020-04-02 09:59:42.410] [LOG]    No helper found for module: MMM-YouTube.
    [2020-04-02 09:59:42.412] [LOG]    Initializing new module helper ...
    [2020-04-02 09:59:42.414] [LOG]    Module helper loaded: MMM-Spotify
    [2020-04-02 09:59:42.428] [ERROR]  App threw an error during load
    [2020-04-02 09:59:42.429] [ERROR]  Error: Cannot find module '/home/pi/MagicMirror/modules/MMM-Hotword/snowboy/lib/node/binding/Release/electron-v6.1-linux-arm/snowboy.node'
    Require stack:
    - /home/pi/MagicMirror/modules/MMM-Hotword/snowboy/lib/node/index.js
    - /home/pi/MagicMirror/modules/MMM-Hotword/node_helper.js
    - /home/pi/MagicMirror/js/app.js
    - /home/pi/MagicMirror/js/electron.js
    - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
    -
        at Module._resolveFilename (internal/modules/cjs/loader.js:627:15)
        at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:41:16)
        at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
        at Function.Module._load (internal/modules/cjs/loader.js:531:27)
        at Module.require (internal/modules/cjs/loader.js:685:19)
        at require (internal/modules/cjs/helpers.js:16:16)
        at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-Hotword/snowboy/lib/node/index.js:8:29)
        at Module._compile (internal/modules/cjs/loader.js:786:30)
        at Object.Module._extensions..js (internal/modules/cjs/loader.js:798:10)
        at Module.load (internal/modules/cjs/loader.js:645:32)
        at Function.Module._load (internal/modules/cjs/loader.js:560:12)
        at Module.require (internal/modules/cjs/loader.js:685:19)
        at require (internal/modules/cjs/helpers.js:16:16)
        at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-Hotword/node_helper.js:11:18)
        at Module._compile (internal/modules/cjs/loader.js:786:30)
        at Object.Module._extensions..js (internal/modules/cjs/loader.js:798:10)
        at Module.load (internal/modules/cjs/loader.js:645:32)
        at Function.Module._load (internal/modules/cjs/loader.js:560:12)
        at Module.require (internal/modules/cjs/loader.js:685:19)
        at require (internal/modules/cjs/helpers.js:16:16)
        at loadModule (/home/pi/MagicMirror/js/app.js:131:17)
        at loadNextModule (/home/pi/MagicMirror/js/app.js:165:5)
    [2020-04-02 09:59:42.432] [LOG]    Whoops! There was an uncaught exception...
    [2020-04-02 09:59:42.433] [ERROR]  Error: Cannot find module '/home/pi/MagicMirror/modules/MMM-Hotword/snowboy/lib/node/binding/Release/electron-v6.1-linux-arm/snowboy.node'
    Require stack:
    - /home/pi/MagicMirror/modules/MMM-Hotword/snowboy/lib/node/index.js
    - /home/pi/MagicMirror/modules/MMM-Hotword/node_helper.js
    - /home/pi/MagicMirror/js/app.js
    - /home/pi/MagicMirror/js/electron.js
    - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
    -
        at Module._resolveFilename (internal/modules/cjs/loader.js:627:15)
        at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:41:16)
        at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
        at Function.Module._load (internal/modules/cjs/loader.js:531:27)
        at Module.require (internal/modules/cjs/loader.js:685:19)
        at require (internal/modules/cjs/helpers.js:16:16)
        at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-Hotword/snowboy/lib/node/index.js:8:29)
        at Module._compile (internal/modules/cjs/loader.js:786:30)
        at Object.Module._extensions..js (internal/modules/cjs/loader.js:798:10)
        at Module.load (internal/modules/cjs/loader.js:645:32)
        at Function.Module._load (internal/modules/cjs/loader.js:560:12)
        at Module.require (internal/modules/cjs/loader.js:685:19)
        at require (internal/modules/cjs/helpers.js:16:16)
        at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-Hotword/node_helper.js:11:18)
        at Module._compile (internal/modules/cjs/loader.js:786:30)
        at Object.Module._extensions..js (internal/modules/cjs/loader.js:798:10)
        at Module.load (internal/modules/cjs/loader.js:645:32)
        at Function.Module._load (internal/modules/cjs/loader.js:560:12)
        at Module.require (internal/modules/cjs/loader.js:685:19)
        at require (internal/modules/cjs/helpers.js:16:16)
        at loadModule (/home/pi/MagicMirror/js/app.js:131:17)
        at loadNextModule (/home/pi/MagicMirror/js/app.js:165:5) {
      code: 'MODULE_NOT_FOUND',
      requireStack: [
        '/home/pi/MagicMirror/modules/MMM-Hotword/snowboy/lib/node/index.js',
        '/home/pi/MagicMirror/modules/MMM-Hotword/node_helper.js',
        '/home/pi/MagicMirror/js/app.js',
        '/home/pi/MagicMirror/js/electron.js',
        '/home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js',
        undefined
      ]
    }
    [2020-04-02 09:59:42.447] [LOG]    MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
    [2020-04-02 09:59:42.449] [LOG]    If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
    [2020-04-02 09:59:42.629] [LOG]    Launching application.
    ^C[2020-04-02 10:01:17.981] [LOG]    Shutting down server...
    [2020-04-02 10:01:17.990] [LOG]    Stopping module helper: updatenotification
    [2020-04-02 10:01:17.992] [LOG]    Stopping module helper: calendar
    [2020-04-02 10:01:17.993] [LOG]    Stopping module helper: MMM-Selfieshot
    [2020-04-02 10:01:17.994] [LOG]    Stopping module helper: MMM-Strava
    [2020-04-02 10:01:17.996] [LOG]    Stopping module helper: newsfeed
    [2020-04-02 10:01:17.997] [LOG]    Stopping module helper: MMM-Spotify
    [2020-04-02 10:01:17.999] [LOG]    Stopping module helper: updatenotification
    [2020-04-02 10:01:18.001] [LOG]    Stopping module helper: calendar
    [2020-04-02 10:01:18.003] [LOG]    Stopping module helper: MMM-Selfieshot
    [2020-04-02 10:01:18.005] [LOG]    Stopping module helper: MMM-Strava
    [2020-04-02 10:01:18.007] [LOG]    Stopping module helper: newsfeed
    [2020-04-02 10:01:18.009] [LOG]    Stopping module helper: MMM-Spotify
    pi@raspberrypi:~/MagicMirror $ git pull
    Déjà à jour.
    pi@raspberrypi:~/MagicMirror $ apt-get update
    Lecture des listes de paquets... Fait
    E: Impossible d'ouvrir le fichier verrou /var/lib/apt/lists/lock - open (13: Permission non accordée)
    E: Impossible de verrouiller le répertoire /var/lib/apt/lists/
    W: Problème de suppression du lien /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission non accordée)
    W: Problème de suppression du lien /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission non accordée)
    pi@raspberrypi:~/MagicMirror $ cd ..
    pi@raspberrypi:~ $ apt-get update
    Lecture des listes de paquets... Fait
    E: Impossible d'ouvrir le fichier verrou /var/lib/apt/lists/lock - open (13: Permission non accordée)
    E: Impossible de verrouiller le répertoire /var/lib/apt/lists/
    W: Problème de suppression du lien /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission non accordée)
    W: Problème de suppression du lien /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission non accordée)
    pi@raspberrypi:~ $ ^C
    pi@raspberrypi:~ $ cmd": "cd $MIRROR_APP_PATH/ && git checkout modules/node_modules/node_helper/index.js
    -bash: cmd: cd : commande introuvable
    pi@raspberrypi:~ $ cd $MIRROR_APP_PATH/ && git checkout modules/node_modules/node_helper/index.js
    fatal: ni ceci ni aucun de ses répertoires parents n'est un dépôt git : .git
    pi@raspberrypi:/ $ ls
    bin  boot  dev  etc  home  lib  lost+found  media  mnt  opt  proc  root  run  sbin  srv  sys  tmp  usr  var
    pi@raspberrypi:/ $
    
    

    Thanks for help…

    1 Reply Last reply Reply Quote 0
    • J Offline
      jims
      last edited by jims Apr 2, 2020, 10:30 AM Apr 2, 2020, 10:28 AM

      after had followed the explanations page 3, the mirror is okay.
      But, he seems that jarvis doesn’t work as before… when I say ‘what time is it’ he open a windows with the google search haha but otherwize the over questions are ok, jarvis answer correctly.
      After, The module spotify doesn t work and PIR sensor… I will check it
      sorry for my english, i m french

      1 Reply Last reply Reply Quote 0
      • M Offline
        minomit
        last edited by Apr 2, 2020, 11:34 AM

        Some problem:

        git pull

        Updating 5bf90ae…447c0bf
        error: Your local changes to the following files would be overwritten by merge:
        modules/default/compliments/compliments.js
        package-lock.json
        Please commit your changes or stash them before you merge.
        Aborting

        help me please, thanks

        1 Reply Last reply Reply Quote 0
        • S Away
          sdetweil @jims
          last edited by Apr 2, 2020, 11:43 AM

          @jims said in Update MMM:

          local version 2.11.0 already same as master 2.11.0

          if at the same level u have to use ‘force’ as ‘apply’ will stop if the same level

          pi@raspberrypi:~ $ npm start

          always start MM from the ~/MagicMirror folder, not the users home folder

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • M Offline
            minomit
            last edited by Apr 2, 2020, 12:49 PM

            no update from version 2.10.1 to 2.11.0
            in the folder:

            pi@raspberrypi:~/MagicMirror $ bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)”
            bash: warning: setlocale: LC_ALL: cannot change locale (it_IT)
            the log will be /home/pi/MagicMirror/installers/upgrade.log
            No LSB modules are available.
            doing test run = true
            update log will be in /home/pi/MagicMirror/installers/upgrade.log

            upgrading from version 2.10.1 to 2.11.0
            fetching latest revisions
            bash: line 396: warning: setlocale: LC_ALL: cannot change locale (it_IT)
            bash: line 396: warning: setlocale: LC_ALL: cannot change locale (it_IT)
            there are 2 local files that are different than the master repo

            modules/default/compliments/compliments.js
            package-lock.json

            any *-lock.json files do not need to be saved
            do you want to save these files for later (Y/n)?n
            skipping restore for modules/default/compliments/compliments.js, doing test run
            skipping restore for package-lock.json, doing test run
            processing dependency changes for active modules with package.json files

            processing for module MMM-network-signal please wait

            skipped processing for MMM-network-signal, doing test run
            processing complete for module MMM-network-signal

            processing for module MMM-GooglePhotos please wait

            skipped processing for MMM-GooglePhotos, doing test run
            processing complete for module MMM-GooglePhotos

            processing for module MMM-COVID19-SPARKLINE please wait

            skipped processing for MMM-COVID19-SPARKLINE, doing test run
            processing complete for module MMM-COVID19-SPARKLINE

            processing for module MMM-NowPlayingOnSpotify please wait

            skipped processing for MMM-NowPlayingOnSpotify, doing test run
            processing complete for module MMM-NowPlayingOnSpotify

            processing for module MMM-AlexaControl please wait

            skipped processing for MMM-AlexaControl, doing test run
            processing complete for module MMM-AlexaControl

            S 1 Reply Last reply Apr 2, 2020, 12:59 PM Reply Quote 0
            • S Away
              sdetweil @minomit
              last edited by sdetweil Apr 2, 2020, 1:02 PM Apr 2, 2020, 12:59 PM

              @minomit said in Update MMM:

              doing test run = true

              upgrade-script.sh will do the git pull and npm install, and refresh npm setup for any modules that might need it
              it should handle all the work… and give you a trial run of all that…
              
              only applying changes if u request them
              
              give it a try this works on Mac as well
              
              bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)"
              no changes are made to the local repo or the working copy
              
              **if you WANT to actually apply the changes do**
              
              bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" apply
              there is a log file (upgrade.log) in the MagicMirror/installers folder…
              

              I built it to TEST first… and not just blindly apply… give u a chance to figure out what to do…

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              S 1 Reply Last reply Apr 2, 2020, 1:01 PM Reply Quote 0
              • S Away
                sdetweil @sdetweil
                last edited by sdetweil Apr 2, 2020, 1:02 PM Apr 2, 2020, 1:01 PM

                @minomit

                notice it highlights a file u might want to look out for

                modules/default/compliments/compliments.js

                did u change this? if so, your changes might be lost

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                M 1 Reply Last reply Apr 2, 2020, 1:23 PM Reply Quote 0
                • M Offline
                  minomit @sdetweil
                  last edited by Apr 2, 2020, 1:23 PM

                  @sdetweil yes, I tried to put the original file too, same problem

                  S 1 Reply Last reply Apr 2, 2020, 1:25 PM Reply Quote 0
                  • S Away
                    sdetweil @minomit
                    last edited by Apr 2, 2020, 1:25 PM

                    @minomit which ‘same problem’

                    if u want the original file back

                    cd ~/MagicMirror
                    git checkout modules/default/compliments/compliments.js
                    

                    did u do this

                    bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" apply
                    

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      minomit
                      last edited by Apr 2, 2020, 2:43 PM

                      ok ok, perfect thanks

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 7
                      • 8
                      • 7 / 8
                      7 / 8
                      • First post
                        67/75
                        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