MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. JerryP
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    Offline
    • Profile
    • Following 2
    • Followers 0
    • Topics 13
    • Posts 173
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: REQUEST : SEMS PORTAL for Magic Mirror

      @nkc said in REQUEST : SEMS PORTAL for Magic Mirror:

      @JerryP : Hi Jerry - Are you willing to share this code - Where can I find your code ?

      Thank you.

      MMM-SemPortal

      posted in Requests
      JerryPJ
      JerryP
    • RE: After update 2.23.0 crash

      @sdetweil same error

      pi@raspberrypi:~/MagicMirror $ rm -rf node_modules
      pi@raspberrypi:~/MagicMirror $ npm install
      npm ERR! code ENOENT
      npm ERR! syscall open
      npm ERR! path /home/pi/MagicMirror/package.json
      npm ERR! errno -2
      npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/MagicMirror/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/2023-04-04T20_47_07_273Z-debug-0.log
      pi@raspberrypi:~/MagicMirror $ 
      
      posted in Bug Hunt
      JerryPJ
      JerryP
    • RE: After update 2.23.0 crash

      @sdetweil

      pi@raspberrypi:~/MagicMirror $ ls
       CHANGELOG.md   Collaboration.md   core  'DISPLAY=:0'   index.html   jest.config.js   jsconfig.json   magicmirror@2.23.0   module-types.ts   oud         run-start.sh   splashscreen   th.json        vendor
       clientonly     config             css    fonts         installers   js               LICENSE.md      modules              node_modules      README.md   serveronly     tests          translations
      pi@raspberrypi:~/MagicMirror $ npm install
      npm ERR! code ENOTEMPTY
      npm ERR! syscall rename
      npm ERR! path /home/pi/MagicMirror/node_modules/acorn
      npm ERR! dest /home/pi/MagicMirror/node_modules/.acorn-pnTZ3fig
      npm ERR! errno -39
      npm ERR! ENOTEMPTY: directory not empty, rename '/home/pi/MagicMirror/node_modules/acorn' -> '/home/pi/MagicMirror/node_modules/.acorn-pnTZ3fig'
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/pi/.npm/_logs/2023-04-04T20_43_20_803Z-debug-0.log
      
      posted in Bug Hunt
      JerryPJ
      JerryP
    • RE: After update 2.23.0 crash

      @sdetweil ```
      Already up to date.

      magicmirror@2.23.0 install-mm
      npm install --no-audit --no-fund --no-update-notifier --only=prod --omit=dev

      npm WARN config only Use --omit=dev to omit dev dependencies from the install.
      npm ERR! code EACCES
      npm ERR! syscall open
      npm ERR! path /home/pi/MagicMirror/package-lock.json
      npm ERR! errno -13
      npm ERR! Error: EACCES: permission denied, open ‘/home/pi/MagicMirror/package-lock.json’
      npm ERR! [Error: EACCES: permission denied, open ‘/home/pi/MagicMirror/package-lock.json’] {
      npm ERR! errno: -13,
      npm ERR! code: ‘EACCES’,
      npm ERR! syscall: ‘open’,
      npm ERR! path: ‘/home/pi/MagicMirror/package-lock.json’
      npm ERR! }
      npm ERR!
      npm ERR! The operation was rejected by your operating system.
      npm ERR! It is likely you do not have the permissions to access this file as the current user
      npm ERR!
      npm ERR! If you believe this might be a permissions issue, please double-check the
      npm ERR! permissions of the file and its containing directories, or try running
      npm ERR! the command again as root/Administrator.

      npm ERR! A complete log of this run can be found in:
      npm ERR! /home/pi/.npm/_logs/2023-04-04T20_38_11_536Z-debug-0.log

      posted in Bug Hunt
      JerryPJ
      JerryP
    • RE: After update 2.23.0 crash

      @sdetweil ```
      pi@raspberrypi:~/MagicMirror $ npm start

      magicmirror@2.23.0 start
      DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js

      App threw an error during load
      Error: Cannot find module ‘envsub’
      Require stack:

      • /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 (node:internal/modules/cjs/loader:963:15)
        at n._resolveFilename (node:electron/js2c/browser_init:2:109416)
        at Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
        at Module._load (node:internal/modules/cjs/loader:811:27)
        at f._load (node:electron/js2c/asar_bundle:2:13328)
        at Module.require (node:internal/modules/cjs/loader:1035:19)
        at require (node:internal/modules/cjs/helpers:102:18)
        at Object. (/home/pi/MagicMirror/js/app.js:13:16)
        at Module._compile (node:internal/modules/cjs/loader:1141:14)
        at Module._extensions…js (node:internal/modules/cjs/loader:1196:10)
        A JavaScript error occurred in the main process
        Uncaught Exception:
        Error: Cannot find module ‘envsub’
        Require stack:
      • /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 (node:internal/modules/cjs/loader:963:15)
        at n._resolveFilename (node:electron/js2c/browser_init:2:109416)
        at Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
        at Module._load (node:internal/modules/cjs/loader:811:27)
        at f._load (node:electron/js2c/asar_bundle:2:13328)
        at Module.require (node:internal/modules/cjs/loader:1035:19)
        at require (node:internal/modules/cjs/helpers:102:18)
        at Object. (/home/pi/MagicMirror/js/app.js:13:16)
        at Module._compile (node:internal/modules/cjs/loader:1141:14)
        at Module._extensions…js (node:internal/modules/cjs/loader:1196:10)
        MESA-LOADER: failed to retrieve device information
        MESA-LOADER: failed to retrieve device information
        MESA-LOADER: failed to retrieve device information
        MESA-LOADER: failed to open kms_swrast (search paths /usr/lib/arm-linux-gnueabihf/dri:$${ORIGIN}/dri:/usr/lib/dri)
        failed to load driver: kms_swrast
        MESA-LOADER: failed to open swrast (search paths /usr/lib/arm-linux-gnueabihf/dri:$${ORIGIN}/dri:/usr/lib/dri)
        failed to load swrast driver
      posted in Bug Hunt
      JerryPJ
      JerryP
    • RE: After update 2.23.0 crash

      @sdetweil

      pi@raspberrypi:~/MagicMirror $ sudo git pull
      
      
      posted in Bug Hunt
      JerryPJ
      JerryP
    • After update 2.23.0 crash

      After the update.

      error at reboot

      pi@raspberrypi:~/MagicMirror $ npm start
      
      > magicmirror@2.23.0 start
      > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
      
      App threw an error during load
      Error: Cannot find module 'envsub'
      Require stack:
      - /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 (node:internal/modules/cjs/loader:963:15)
          at n._resolveFilename (node:electron/js2c/browser_init:2:109416)
          at Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
          at Module._load (node:internal/modules/cjs/loader:811:27)
          at f._load (node:electron/js2c/asar_bundle:2:13328)
          at Module.require (node:internal/modules/cjs/loader:1035:19)
          at require (node:internal/modules/cjs/helpers:102:18)
          at Object.<anonymous> (/home/pi/MagicMirror/js/app.js:13:16)
          at Module._compile (node:internal/modules/cjs/loader:1141:14)
          at Module._extensions..js (node:internal/modules/cjs/loader:1196:10)
      A JavaScript error occurred in the main process
      Uncaught Exception:
      Error: Cannot find module 'envsub'
      Require stack:
      - /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 (node:internal/modules/cjs/loader:963:15)
          at n._resolveFilename (node:electron/js2c/browser_init:2:109416)
          at Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
          at Module._load (node:internal/modules/cjs/loader:811:27)
          at f._load (node:electron/js2c/asar_bundle:2:13328)
          at Module.require (node:internal/modules/cjs/loader:1035:19)
          at require (node:internal/modules/cjs/helpers:102:18)
          at Object.<anonymous> (/home/pi/MagicMirror/js/app.js:13:16)
          at Module._compile (node:internal/modules/cjs/loader:1141:14)
          at Module._extensions..js (node:internal/modules/cjs/loader:1196:10)
      MESA-LOADER: failed to retrieve device information
      MESA-LOADER: failed to retrieve device information
      MESA-LOADER: failed to retrieve device information
      MESA-LOADER: failed to open kms_swrast (search paths /usr/lib/arm-linux-gnueabihf/dri:\$${ORIGIN}/dri:/usr/lib/dri)
      failed to load driver: kms_swrast
      MESA-LOADER: failed to open swrast (search paths /usr/lib/arm-linux-gnueabihf/dri:\$${ORIGIN}/dri:/usr/lib/dri)
      failed to load swrast driver
      

      Please help

      posted in Bug Hunt
      JerryPJ
      JerryP
    • RE: MMM-VolvoOnCall upgrade get wrong

      @JerryP
      oke…
      The problem is solved.
      First I dit the install of sudo pip install aiohttp
      Then sudo pip install docopt
      And last cd volvooncall
      git pull
      sudo python3 setup.py install
      voc list

      And the data was back.
      So I think in the upgrade to Bullseye the python3.9 was not complete
      After the 2 extra install the module was running again.

      posted in Transport
      JerryPJ
      JerryP
    • MMM-VolvoOnCall upgrade get wrong

      Help.
      Yesterday after updating from Buster to Bullseye IOS
      The module is stopt working.
      I Think i’ts getting wrong in the Pyton3 script.

      The command shell “voc list” is giffing multi errors.
      IMG_4586.jpg

      posted in Transport
      JerryPJ
      JerryP
    • RE: My e-ink frame

      Looks nice

      posted in Show your Mirror
      JerryPJ
      JerryP
    • 1
    • 2
    • 3
    • 4
    • 5
    • 17
    • 18
    • 2 / 18