Read the statement by Michael Teeuw here.
Looking for Beta-testers!
-
Guys, I’ve just made a modification that hides a region if all modules in a region are hidden. This should prevent unwanted margins when a region (like the
top_bar
) only contains hidden modules. This allows my to move theupdatenotification
module to the topbar.Due to the nature of the change, this could cause some serious issues if it contains any missed bugs. It would be great if you guys gan pull the latest version and let me know if everything keeps working. If you’re having issues with some modules not showing up, please let me know.
More info about this change can be found here: https://github.com/MichMich/MagicMirror/commit/e4197012f65778f815cd73a6c7fab1a30ef3b92f
Thanks!
-
@MichMich I am on the latest develop and it throws an error and just gives me a black screen:
> magicmirror@2.1.1 start /home/pi/MagicMirror > sh run-start.sh Starting MagicMirror: v2.1.1 Loading config ... App threw an error during load TypeError: Path must be a string. Received undefined at assertPath (path.js:7:11) at Object.resolve (path.js:1148:7) at loadConfig (/home/pi/MagicMirror/js/app.js:53:29) at App.start (/home/pi/MagicMirror/js/app.js:180:3) at Object. (/home/pi/MagicMirror/js/electron.js:102:6) at Module._compile (module.js:556:32) at Object.Module._extensions..js (module.js:565:10) at Module.load (module.js:473:32) at tryModuleLoad (module.js:432:12) at Function.Module._load (module.js:424:3) Whoops! There was an uncaught exception... TypeError: Path must be a string. Received undefined at assertPath (path.js:7:11) at Object.resolve (path.js:1148:7) at loadConfig (/home/pi/MagicMirror/js/app.js:53:29) at App.start (/home/pi/MagicMirror/js/app.js:180:3) at Object. (/home/pi/MagicMirror/js/electron.js:102:6) at Module._compile (module.js:556:32) at Object.Module._extensions..js (module.js:565:10) at Module.load (module.js:473:32) at tryModuleLoad (module.js:432:12) at Function.Module._load (module.js:424:3) MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues Launching application.
When I jump back to Master branch it loads fine:
//your code> magicmirror@2.1.0 start /home/pi/MagicMirror > electron js/electron.js Starting MagicMirror: v2.1.0 Loading config ... Loading module helpers ... No helper found for module: alert. Initializing new module helper ... No helper found for module: clock. Initializing new module helper ... Initializing new module helper ... Initializing new module helper ... Initializing new module helper ... Initializing new module helper ... All module helpers loaded. Starting server op port 8080 ... Server started ... Connecting socket for: MMM-Remote-Control Starting node helper for: MMM-Remote-Control Connecting socket for: calendar Starting node helper for: calendar Connecting socket for: MMM-Traffic MMM-Traffic helper started ... Connecting socket for: MMM-WunderGround MMM-WunderGround helper started ... Connecting socket for: MMM-NFL Starting module: MMM-NFL Connecting socket for: newsfeed Starting module: newsfeed Sockets connected & modules started ... Launching application. ERROR! Could not find main module js
-
Hi there, got the same problem… It’s time for bed anyway. :)
-
So… that is my mistake. I pushed fix the wrong validation :(
https://github.com/MichMich/MagicMirror/pull/658 -
I’ve just merged the fix!👍
-
Working. :)
-
@MichMich I have the same problem as ESOB:
I am now also on the latest develop and it throws an error and just gives me a black screen:
WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'rrule-alt' App threw an error during load Error: Cannot find module 'rrule-alt' at Module._resolveFilename (module.js:455:15) at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12) at Function.Module._load (module.js:403:25) at Module.require (module.js:483:17) at require (internal/module.js:20:19) at Object. (/home/pi/MagicMirror/modules/default/calendar/vendor/ical.js/node-ical.js:20:13) at Module._compile (module.js:556:32) at Object.Module._extensions..js (module.js:565:10) at Module.load (module.js:473:32) at tryModuleLoad (module.js:432:12) { Error: Cannot find module 'rrule-alt' at Module._resolveFilename (module.js:455:15) at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12) at Function.Module._load (module.js:403:25) at Module.require (module.js:483:17) at require (internal/module.js:20:19) at Object. (/home/pi/MagicMirror/modules/default/calendar/vendor/ical.js/node-ical.js:20:13) at Module._compile (module.js:556:32) at Object.Module._extensions..js (module.js:565:10) at Module.load (module.js:473:32) at tryModuleLoad (module.js:432:12) code: 'MODULE_NOT_FOUND' }
When I go back to Master branch it loads normally.
Please help me
-
@XxX_Cobra_XxX did you install the dependencies? they have changed for the develop branch
-
@strawberry-3.141 I have installed the dependencies now with ‘npm install’ and it works! ;-)
Thank you very much
-
Hey Guys,
To prevent problems like the error on validation on develop branch I say to you we are working a test suite for MagicMirror.
Now is initial state with some tests. Today @MichMich merged a change with some testing for e2e area. At now isn’t integrated the e2e tests in Travis. You can run e2e tests with
export DISPLAY=:0 && npm run test:e2e
You need runnpm install
beforeThe build a test is simple. If someone is animated and want to build one or need some light let me know.
So, also it helps if you run the e2e tests into your system and tells us if something is wrong or good.