@sdetweil Thank you… that was the issue
Read the statement by Michael Teeuw here.
Posts
-
RE: MM won't start up after upgrading to 2.27
-
RE: MM won't start up after upgrading to 2.27
@sdetweil I npm installed the Google Tasks module and its still throwing the same error
-
RE: MM won't start up after upgrading to 2.27
@sdetweil I didn’t realize that you have to reinstall all of the modules after an install I’ve been running MM for over a year and have upgraded before like this and never had to npm install each of the modules again… I’ll go back and reinstall all of them just incase and report back
-
RE: MM won't start up after upgrading to 2.27
@sdetweil Just for extra context I have updated my config css and modules from my backup
I also have rebooted and completed your steps above… here is the output
:~/Dashboard/MagicMirror $ npm start > magicmirror@2.27.0 start > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js [2024-04-26 15:59:34.482] [LOG] Starting MagicMirror: v2.27.0 [2024-04-26 15:59:34.534] [LOG] Loading config ... [2024-04-26 15:59:34.539] [LOG] config template file not exists, no envsubst [2024-04-26 15:59:34.545] [LOG] Loading module helpers ... [2024-04-26 15:59:34.644] [LOG] Initializing new module helper ... [2024-04-26 15:59:34.646] [LOG] Module helper loaded: MMM-OpenWeatherForecast [2024-04-26 15:59:34.902] [LOG] Initializing new module helper ... [2024-04-26 15:59:34.902] [LOG] Module helper loaded: MMM-Wallpaper [2024-04-26 15:59:34.903] [LOG] No helper found for module: clock. [2024-04-26 15:59:35.099] [LOG] Initializing new module helper ... [2024-04-26 15:59:35.100] [LOG] Module helper loaded: calendar [2024-04-26 15:59:35.101] [LOG] No helper found for module: MMM-CalendarExt3. [2024-04-26 15:59:37.975] [LOG] Initializing new module helper ... [2024-04-26 15:59:37.980] [LOG] Module helper loaded: MMM-GoogleCalendar [2024-04-26 15:59:37.982] [LOG] Initializing new module helper ... [2024-04-26 15:59:37.983] [LOG] Module helper loaded: MMM-CustomMessage [2024-04-26 15:59:38.665] [ERROR] (node:2997) UnhandledPromiseRejectionWarning: Error: Cannot find module 'googleapis' Require stack: - /home/k/Dashboard/MagicMirror/modules/MMM-GoogleTasks/node_helper.js - /home/k/Dashboard/MagicMirror/js/app.js - /home/k/Dashboard/MagicMirror/js/electron.js at Module._resolveFilename (node:internal/modules/cjs/loader:1055:15) at s._resolveFilename (node:electron/js2c/browser_init:2:115476) at Module._resolveFilename (/home/k/Dashboard/MagicMirror/node_modules/module-alias/index.js:49:29) at Module._load (node:internal/modules/cjs/loader:908:27) at c._load (node:electron/js2c/node_init:2:13672) at Module.require (node:internal/modules/cjs/loader:1122:19) at require (node:internal/modules/helpers:130:18) at Object.<anonymous> (/home/k/Dashboard/MagicMirror/modules/MMM-GoogleTasks/node_helper.js:2:18) at Module._compile (node:internal/modules/cjs/loader:1256:14) at Module._extensions..js (node:internal/modules/cjs/loader:1311:10) at Module.load (node:internal/modules/cjs/loader:1098:32) at Module._load (node:internal/modules/cjs/loader:945:12) at c._load (node:electron/js2c/node_init:2:13672) at Module.require (node:internal/modules/cjs/loader:1122:19) at require (node:internal/modules/helpers:130:18) at loadModule (/home/k/Dashboard/MagicMirror/js/app.js:183:19) (Use `electron --trace-warnings ...` to show where the warning was created) [2024-04-26 15:59:38.667] [ERROR] (node:2997) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1) [3112:0426/155940.054621:ERROR:gbm_wrapper.cc(76)] Failed to get fd for plane.: No such file or directory (2) [3112:0426/155940.055560:ERROR:gbm_wrapper.cc(259)] Failed to export buffer to dma_buf: No such file or directory (2)
-
RE: MM won't start up after upgrading to 2.27
I have updated all of my custom changes back into this after the update ie config, css, modules
I did an npm start and here is my output
:~/Dashboard/MagicMirror $ npm start > magicmirror@2.27.0 start > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js [2024-04-26 15:59:34.482] [LOG] Starting MagicMirror: v2.27.0 [2024-04-26 15:59:34.534] [LOG] Loading config ... [2024-04-26 15:59:34.539] [LOG] config template file not exists, no envsubst [2024-04-26 15:59:34.545] [LOG] Loading module helpers ... [2024-04-26 15:59:34.644] [LOG] Initializing new module helper ... [2024-04-26 15:59:34.646] [LOG] Module helper loaded: MMM-OpenWeatherForecast [2024-04-26 15:59:34.902] [LOG] Initializing new module helper ... [2024-04-26 15:59:34.902] [LOG] Module helper loaded: MMM-Wallpaper [2024-04-26 15:59:34.903] [LOG] No helper found for module: clock. [2024-04-26 15:59:35.099] [LOG] Initializing new module helper ... [2024-04-26 15:59:35.100] [LOG] Module helper loaded: calendar [2024-04-26 15:59:35.101] [LOG] No helper found for module: MMM-CalendarExt3. [2024-04-26 15:59:37.975] [LOG] Initializing new module helper ... [2024-04-26 15:59:37.980] [LOG] Module helper loaded: MMM-GoogleCalendar [2024-04-26 15:59:37.982] [LOG] Initializing new module helper ... [2024-04-26 15:59:37.983] [LOG] Module helper loaded: MMM-CustomMessage [2024-04-26 15:59:38.665] [ERROR] (node:2997) UnhandledPromiseRejectionWarning: Error: Cannot find module 'googleapis' Require stack: - /home/k/Dashboard/MagicMirror/modules/MMM-GoogleTasks/node_helper.js - /home/k/Dashboard/MagicMirror/js/app.js - /home/k/Dashboard/MagicMirror/js/electron.js at Module._resolveFilename (node:internal/modules/cjs/loader:1055:15) at s._resolveFilename (node:electron/js2c/browser_init:2:115476) at Module._resolveFilename (/home/k/Dashboard/MagicMirror/node_modules/module-alias/index.js:49:29) at Module._load (node:internal/modules/cjs/loader:908:27) at c._load (node:electron/js2c/node_init:2:13672) at Module.require (node:internal/modules/cjs/loader:1122:19) at require (node:internal/modules/helpers:130:18) at Object.<anonymous> (/home/k/Dashboard/MagicMirror/modules/MMM-GoogleTasks/node_helper.js:2:18) at Module._compile (node:internal/modules/cjs/loader:1256:14) at Module._extensions..js (node:internal/modules/cjs/loader:1311:10) at Module.load (node:internal/modules/cjs/loader:1098:32) at Module._load (node:internal/modules/cjs/loader:945:12) at c._load (node:electron/js2c/node_init:2:13672) at Module.require (node:internal/modules/cjs/loader:1122:19) at require (node:internal/modules/helpers:130:18) at loadModule (/home/k/Dashboard/MagicMirror/js/app.js:183:19) (Use `electron --trace-warnings ...` to show where the warning was created) [2024-04-26 15:59:38.667] [ERROR] (node:2997) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1) [3112:0426/155940.054621:ERROR:gbm_wrapper.cc(76)] Failed to get fd for plane.: No such file or directory (2) [3112:0426/155940.055560:ERROR:gbm_wrapper.cc(259)] Failed to export buffer to dma_buf: No such file or directory (2)
-
MM won't start up after upgrading to 2.27
I just upgraded to 2.27. I have backed up my config, modules, css now my mirror isn’t running.
I did the following
git pull && npm run install-mm
Upon completion of the install everything checked out and looked good
changed 2 packages in 2m MagicMirror² installation finished successfully!
I then went and restarted my magic mirror using my npm restart and it shows the following but its not running?
[PM2] mm ✓
┌────┬───────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐
│ id │ name │ namespace │ version │ mode │ pid │ uptime │ ↺ │ status │ cpu │ mem │ user │ watching │
├────┼───────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤
│ 0 │ mm │ default │ 2.27.0 │ fork │ 2165 │ 0s │ 1 │ online │ 0% │ 3.0mb │ k │ disabled │
└────┴───────┴─────────────┴─────────┴─────────┴──────────┴────────┴──────┴───────────┴──────────┴──────────┴──────────┴──────────┘ -
ToDoist sits at loading
Cross posting as I’ve opened this as an issue on the git repo for this but I’m curious if anyone else has figured out a way to get this to work.
I installed ToDosit module today and have been struggling to get it to work. I’ve been reading ToDoist’s API documentation and I see a few things that are not up to date per their documentation.
In the MMM-ToDoist.js currently the defined API call is
apiVersion: “v9”, apiBase: “https://todoist.com/API”, todoistEndpoint: “sync”,But when you go to ToDoist site https://developer.todoist.com/sync/v9/#summary-of-contents
The url they have documented is https://api.todoist.com/sync/v9/sync
I’ve modified the apiBase to use the new url but that still sits and loads… Looking further into the documentation I think the header needs to be `application/json’ and if this is strictly to pull projects the read API url is https://api.todoist.com/sync/v9/projects/get_data where you only need to pass an API key and project ID.
I’m thinking that the node_helper needs to to make a read request and not a post but I’m not entirely sure because the post might be to pull the access token. Unfortunately I can’t seem to figure it out and I’m curious if any else has modified the node_helper or the MMM-Todoist.js to get this to work for them.
-
RE: MMM-CalendarExt3
Disregard… I managed to make this work by using week view with week index and week view.
-
RE: MMM-CalendarExt3
@MMRIZE big fan of Ext3 module… I was curious if there is any way to have the calendar setting to be the next 4 weeks? That is a valuable view for me that I currently use on MMM-MyCalendar as it seems to be one of the only calendar’s that supports that.