Thanks for your reply , you are great help. Sorry for the double post I just wasn’t sure I hit the reply button. Rookie mistake. Thanks again for your help.
Read the statement by Michael Teeuw here.
Posts made by vandam3b
-
RE: MMM-CollegeFootballTop 25
-
RE: MMM-CollegeFootballTop 25
Thanks, I appreciate it. It loads but now says “Awaiting Update” maybe the module does not work anymore. Thanks
-
RE: MMM-CollegeFootballTop 25
Thanks, I really appreciate it. It loads but now says “Awaiting update” so maybe this module is no longer good?
-
MMM-CollegeFootballTop 25
Re: MMM College top 25
Hi, I installed the MMM-CollegeFootballTop25 but when I go to run it I get this and it wont start. vandam3b@raspberrypi:~/MagicMirror $ npm startmagicmirror@2.25.0 start
DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js[17.11.2023 17:09.12.845] [LOG] Starting MagicMirror: v2.25.0
[17.11.2023 17:09.12.864] [LOG] Loading config …
[17.11.2023 17:09.12.873] [DEBUG] config template file not exists, no envsubst
[17.11.2023 17:09.12.886] [LOG] Loading module helpers …
[17.11.2023 17:09.12.892] [LOG] No helper found for module: alert.
[17.11.2023 17:09.12.954] [LOG] Initializing new module helper …
[17.11.2023 17:09.12.956] [LOG] Module helper loaded: updatenotification
[17.11.2023 17:09.12.960] [LOG] No helper found for module: clock.
[17.11.2023 17:09.13.535] [LOG] Initializing new module helper …
[17.11.2023 17:09.13.538] [LOG] Module helper loaded: calendar
[17.11.2023 17:09.13.548] [LOG] No helper found for module: compliments.
[17.11.2023 17:09.13.551] [LOG] No helper found for module: weather.
[17.11.2023 17:09.13.583] [LOG] Initializing new module helper …
[17.11.2023 17:09.13.585] [LOG] Module helper loaded: MMM-MyScoreboard
[17.11.2023 17:09.13.600] [LOG] Initializing new module helper …
[17.11.2023 17:09.13.601] [LOG] Module helper loaded: MMM-ImageSlideshow
[17.11.2023 17:09.15.041] [LOG] Initializing new module helper …
[17.11.2023 17:09.15.043] [LOG] Module helper loaded: MMM-History
[17.11.2023 17:09.15.060] [ERROR] (node:10256) UnhandledPromiseRejectionWarning: ReferenceError: NodeHelper is not defined
at Object. (/home/vandam3b/MagicMirror/modules/MMM-CollegeFootballTop25/node_helper.js:19:18)
at Module._compile (node:internal/modules/cjs/loader:1271:14)
at Object…js (node:internal/modules/cjs/loader:1326:10)
at Module.load (node:internal/modules/cjs/loader:1126:32)
at node:internal/modules/cjs/loader:967:12
at Function._load (node:electron/js2c/asar_bundle:2:13327)
at Module.require (node:internal/modules/cjs/loader:1150:19)
at require (node:internal/modules/cjs/helpers:110:18)
at loadModule (/home/vandam3b/MagicMirror/js/app.js:180:19)
at loadModules (/home/vandam3b/MagicMirror/js/app.js:210:10)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async App.start (/home/vandam3b/MagicMirror/js/app.js:258:3)
(Useelectron --trace-warnings ...
to show where the warning was created)
[17.11.2023 17:09.15.061] [ERROR] (node:10256) 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)
[10256:1117/170916.908663:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.portal.Settings.Read: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.portal.Desktop was not provided by any .service files
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information
This is what I put in the Config.js file
{
module: “MMM-CollegeFootballTop25”,
position: “lower_third”,
config: {
headertext: “College Top 25”,
}
},
Any help would be appreciated. -
RE: Trouble using pm2 to install modules
Thanks and i down loaded a module but now I get this error.
vandam3b@raspberrypi:~ $ pm2 start MagicMirror
[PM2] Applying action restartProcessId on app [MagicMirror](ids: [ 0 ])
[PM2] MagicMirror ✓
[PM2] Process successfully started
┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐
│ id │ name │ mode │ ↺ │ status │ cpu │ memory │
├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤
│ 1 │ MM │ fork │ 369 │ online │ 131.8% │ 41.3mb │
│ 0 │ MagicMirror │ fork │ 137 │ online │ 0% │ 4.6mb │
└────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘
vandam3b@raspberrypi:~ $I looked for the MM folder but can not find it. It was working before I installed the module. This is what the config. looks like.
/* MagicMirror² Config Sample
*-
By Michael Teeuw https://michaelteeuw.nl
-
MIT Licensed.
-
For more information on how you can configure this file
-
see https://docs.magicmirror.builders/configuration/introduction.html
-
and https://docs.magicmirror.builders/modules/configuration.html
-
You can use environment variables using a
config.js.template
file instead ofconfig.js
-
which will be converted to
config.js
while starting. For more information -
see https://docs.magicmirror.builders/configuration/introduction.html#enviromnent-variables
*/
let config = {
address: “localhost”, // Address to listen on, can be:
// - “localhost”, “127.0.0.1”, “::1” to listen on loopback interface
// - another specific IPv4/6 to listen on a specific interface
// - “0.0.0.0”, “::” to listen on any interface
// Default, when address config is left out or empty, is “localhost”
port: 8080,
basePath: “/”, // The URL path where MagicMirror² is hosted. If you are using a Reverse proxy
// you must set the sub path here. basePath must end with a /
ipWhitelist: [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”], // Set [] to allow all IP addresses
// or add a specific IPv4 of 192.168.1.5 :
// [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”, “::ffff:192.168.1.5”],
// or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
// [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”, “::ffff:192.168.3.0/28”],useHttps: false, // Support HTTPS or not, default “false” will use HTTP
httpsPrivateKey: “”, // HTTPS private key path, only require when useHttps is true
httpsCertificate: “”, // HTTPS Certificate path, only require when useHttps is truelanguage: “en”,
locale: “en-US”,
logLevel: [“INFO”, “LOG”, “WARN”, “ERROR”], // Add “DEBUG” for even more logging
timeFormat: 24,
units: “metric”,modules: [
{
module: “alert”,
},
{
module: “updatenotification”,
position: “top_bar”
},
{
module: “clock”,
position: “top_left”
},
{
module: “calendar”,
header: “US Holidays”,
position: “top_left”,
config: {
calendars: [
{
fetchInterval: 7 * 24 * 60 * 60 * 1000,
symbol: “calendar-check”,
url: “https://ics.calendarlabs.com/76/mm3137/US_Holidays.ics”
}
]
}
},
{
module: “compliments”,
position: “top_bar”
},
{
module: ‘MMM-3Day-Forecast’,
position: ‘top_right’,
config: {
api_key: ‘e40b2a1224254edcecde9ccbc165c869’,
lat: 40.658421,
lon: -74.299593,
units: ‘I’,
lang: ‘en’,
interval: 900000,
}
},{ module: "weather", position: "", header: "Weather Forecast", config: { weatherProvider: "openweathermap", type: "forecast", location: "New York", locationID: "5128581", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city apiKey: "YOUR_OPENWEATHER_API_KEY" } }, { module: "newsfeed", position: "bottom_bar", config: { feeds: [ { title: "Sports", url:"https://api.foxsports.com/v2/content/optimized-rss?partnerKey=MB0Wehpmuj2lUhuRhQaafhBjAJqaPU244mlTDK1i&tags=fs/cfb&size=30" }, ], showSourceTitle: true, showPublishDate: true, broadcastNewsFeeds: true, broadcastNewsUpdates: true } },
]
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== “undefined”) {module.exports = config;} -
-
Trouble using pm2 to install modules
Hi, I can not seem to load and modules. I reinstalled MM using the script but now no modules will load. Here is what I out in and the information I get back. Any help would be appreciated. I tried 3 different modules with no success. Thank you
vandam3b@raspberrypi:~ $ cd MagicMirror
vandam3b@raspberrypi:~/MagicMirror $ cd modules
vandam3b@raspberrypi:~/MagicMirror/modules $ https://github.com/jclarke0000/MMM-MyScoreboard.git
bash: https://github.com/jclarke0000/MMM-MyScoreboard.git: No such file or directory
vandam3b@raspberrypi:~/MagicMirror/modules $ pm2 install https://github.com/jclarke0000/MMM-MyScoreboard.git
[PM2][Module] Installing NPM https://github.com/jclarke0000/MMM-MyScoreboard.git module
[PM2][Module] Module already installed. Updating.
Deleting /home/vandam3b/.pm2/modules/MMM-MyScoreboard
[PM2][Module] Calling [NPM] to install https://github.com/jclarke0000/MMM-MyScoreboard.git …added 39 packages in 22s
1 package is looking for funding
runnpm fund
for details
[PM2][Module] Module downloaded
ENOENT: no such file or directory, open ‘/home/vandam3b/.pm2/modules/MMM-MyScoreboard/node_modules/MMM-MyScoreboard/package.json’
node:internal/modules/cjs/loader:1051
throw err;
^Error: Cannot find module ‘/home/vandam3b/.pm2/modules/MMM-MyScoreboard/node_modules/MMM-MyScoreboard/package.json’
Require stack:- /usr/local/lib/node_modules/pm2/lib/API/Modules/NPM.js
- /usr/local/lib/node_modules/pm2/lib/API/Modules/Modularizer.js
- /usr/local/lib/node_modules/pm2/lib/API.js
- /usr/local/lib/node_modules/pm2/lib/binaries/CLI.js
- /usr/local/lib/node_modules/pm2/bin/pm2
at Module._resolveFilename (node:internal/modules/cjs/loader:1048:15)
at Module._load (node:internal/modules/cjs/loader:901:27)
at Module.require (node:internal/modules/cjs/loader:1115:19)
at require (node:internal/modules/helpers:130:18)
at StartModule (/usr/local/lib/node_modules/pm2/lib/API/Modules/NPM.js:343:22)
at /usr/local/lib/node_modules/pm2/lib/API/Modules/NPM.js:257:7
at /usr/local/lib/node_modules/pm2/lib/Configuration.js:68:14
at FSReqCallback.oncomplete (node:fs:189:23) {
code: ‘MODULE_NOT_FOUND’,
requireStack: [
‘/usr/local/lib/node_modules/pm2/lib/API/Modules/NPM.js’,
‘/usr/local/lib/node_modules/pm2/lib/API/Modules/Modularizer.js’,
‘/usr/local/lib/node_modules/pm2/lib/API.js’,
‘/usr/local/lib/node_modules/pm2/lib/binaries/CLI.js’,
‘/usr/local/lib/node_modules/pm2/bin/pm2’
]
}
Node.js v20.8.0
vandam3b@raspberrypi:~/MagicMirror/modules $ -
RE: Trying to update to version 2.25
Hi, I just wanted to let you know. I used your script to reinstall and all went well. Thanks again.
-
RE: Trying to update to version 2.25
Hi, I tried it but I still got the same error. I don’t know where to find the install.log. I appreciate your help and do not want to take any more of your time. I will just uninstall everything and then start from scratch. Thanks again.