that was it! thank you so much!
it loads now.
Read the statement by Michael Teeuw here.
Best posts made by Guku
-
RE: unexpected token error
Latest posts made by Guku
-
RE: MMM-MPlayer
thanks for checking in with me, i gave up on the player since even when i ran it localy on my VM the camera feed was delayed by about 5sec which defeted the pourpose. thanks anyways!
-
RE: MMM-MPlayer
HI, im running my MM on on Proxmox VM and pointing my display to IP on VM, when i try to run Mplayer it just displays black box but no feed, i doo see the feed on the server VM. any ideas how to get this playing on my remote display?
-
RE: unexpected token error
that was it! thank you so much!
it loads now. -
RE: unexpected token error
its there, i copied it wrong
{
“name”: “mmm-openweathermapforecast”,
“version”: “1.0.0”,
“description”: “MagicMirror² module that gets weather forecast data from OpenWeatherMap”,
“repository”: {
“type”: “git”,
“url”: “git+https://github.com/MarcLandis/MMM-OpenWeatherMapForecast”
},
“keywords”: [
“MagicMirror”,
“MagicMirror²”,
“Weather”,
“OpenWeatherMap”,
“Forecast”,
],
“main”: “MMM-OpenWeatherMapForecast.js”,
“scripts”: {
“test”: “echo “Error: no test specified” && exit 1”
},
“author”: “Jeff Clarke”,
“license”: “MIT”,
“dependencies”: {
“moment”: “^2.28.0”,
“needle”: “^2.5.2”
}
} -
RE: unexpected token error
sorry,
"name": "mmm-openweathermapforecast", "version": "1.0.0", "description": "MagicMirror² module that gets weather forecast data from OpenWeatherMap", "repository": { "type": "git", "url": "git+https://github.com/MarcLandis/MMM-OpenWeatherMapForecast" }, "keywords": [ "MagicMirror", "MagicMirror²", "Weather", "OpenWeatherMap", "Forecast", ], "main": "MMM-OpenWeatherMapForecast.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "author": "Jeff Clarke", "license": "MIT", "dependencies": { "moment": "^2.28.0", "needle": "^2.5.2" }
}
-
RE: unexpected token error
"name": "mmm-openweathermapforecast", "version": "1.0.0", "description": "MagicMirror² module that gets weather forecast data from OpenWeatherMap", "repository": { "type": "git", "url": "git+https://github.com/MarcLandis/MMM-OpenWeatherMapForecast" }, "keywords": [ "MagicMirror", "MagicMirror²", "Weather", "OpenWeatherMap", "Forecast", ], "main": "MMM-OpenWeatherMapForecast.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "author": "Jeff Clarke", "license": "MIT", "dependencies": { "moment": "^2.28.0", "needle": "^2.5.2" }
}
-
unexpected token error
Hello, i ran update for MMM-OpenWeatherMapForecast module and once i restarted MM i get this error
[ERROR] SyntaxError: Error parsing /home/lolo/MagicMirror/modules/MMM-OpenWeatherMapForecast/package.json: Unexpected token ‘]’, …“ast”,
],
“ma”… is not valid JSONthis is my config module
{ module: "MMM-OpenWeatherMapForecast", header: "xxxx", position: "top_right", classes: "default everyone", disabled: false, config: { apikey: "xxxx", latitude: "xxx", longitude: "-xxx", iconset: "1c", concise: false, forecastLayout: "table", showDailyForecast: true, maxDailiesToShow: "6", useAnimatedIcons: true, animateMainIconOnly: false, } },
-
RE: Merge conflict detected in your package.json
@sdetweil i think that finally did it!
thank you so much for your help Sam! -
RE: Merge conflict detected in your package.json
@sdetweil now this
npm run server
magicmirror@2.26.0 server
node ./serveronly[01.01.2024 13:52.17.327] [LOG] Starting MagicMirror: v2.26.0
[01.01.2024 13:52.17.329] [LOG] Loading config …
[01.01.2024 13:52.17.330] [DEBUG] config template file not exists, no envsubst
[01.01.2024 13:52.17.332] [LOG] Loading module helpers …
[01.01.2024 13:52.17.332] [LOG] No helper found for module: alert.
[01.01.2024 13:52.17.336] [ERROR] Whoops! There was an uncaught exception…
[01.01.2024 13:52.17.339] [ERROR] Error: Cannot find module ‘command-exists’
Require stack:- /home/lolo/MagicMirror/modules/default/updatenotification/update_helper.js
- /home/lolo/MagicMirror/modules/default/updatenotification/node_helper.js
- /home/lolo/MagicMirror/js/app.js
- /home/lolo/MagicMirror/serveronly/index.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1048:15)
at Module._resolveFilename (/home/lolo/MagicMirror/node_modules/module-alias/index.js:49:29)
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 Object. (/home/lolo/MagicMirror/modules/default/updatenotification/update_helper.js:3:23)
at Module._compile (node:internal/modules/cjs/loader:1241:14)
at Module._extensions…js (node:internal/modules/cjs/loader:1295:10)
at Module.load (node:internal/modules/cjs/loader:1091:32)
at Module._load (node:internal/modules/cjs/loader:938:12)
at Module.require (node:internal/modules/cjs/loader:1115:19)
at require (node:internal/modules/helpers:130:18)
at Object. (/home/lolo/MagicMirror/modules/default/updatenotification/node_helper.js:4:22)
at Module._compile (node:internal/modules/cjs/loader:1241:14)
at Module._extensions…js (node:internal/modules/cjs/loader:1295:10)
at Module.load (node:internal/modules/cjs/loader:1091:32) {
code: ‘MODULE_NOT_FOUND’,
requireStack: [
‘/home/lolo/MagicMirror/modules/default/updatenotification/update_helper.js’,
‘/home/lolo/MagicMirror/modules/default/updatenotification/node_helper.js’,
‘/home/lolo/MagicMirror/js/app.js’,
‘/home/lolo/MagicMirror/serveronly/index.js’
]
}
[01.01.2024 13:52.17.339] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
[01.01.2024 13:52.17.339] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
-
RE: Merge conflict detected in your package.json
@sdetweil ran the command and this is it
git checkout package.json
Updated 1 path from the indexsent email with upgrade log