Read the statement by Michael Teeuw here.
Error : cannot find module "rrule"
-
@JohnB7777 yeh, you used sudo somehwere… NEVER use sudo (except when told, for specific things)
do this
cd ~ sudo chown -R pi MagicMirrorthen redo the command above.
why would you delete a module?
-
@sdetweil I deleted this module because I though it was the cause of the error.
I tried what you said and it worked but when I start the mirror, there is another error :
> magicmirror@2.9.0 start /home/pi/MagicMirror > sh run-start.sh Starting MagicMirror: v2.9.0 Loading config ... Loading module helpers ... No helper found for module: alert. No helper found for module: clock. Initializing new module helper ... Module helper loaded: calendar No helper found for module: currentweather. No helper found for module: weatherforecast. No helper found for module: MMM-AirQuality. WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'async' Loading module helpers ... No helper found for module: alert. No helper found for module: clock. Initializing new module helper ... Module helper loaded: calendar No helper found for module: currentweather. No helper found for module: weatherforecast. No helper found for module: MMM-AirQuality. App threw an error during load Error: Cannot find module 'async' at Module._resolveFilename (internal/modules/cjs/loader.js:602: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 (internal/modules/cjs/loader.js:528:25) at Module.require (internal/modules/cjs/loader.js:658:17) at require (internal/modules/cjs/helpers.js:20:18) at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-Tools/node_helper.js:9:13) at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-Tools/node_helper.js:239:3) at Module._compile (internal/modules/cjs/loader.js:711:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:722:10) at Module.load (internal/modules/cjs/loader.js:620:32) Whoops! There was an uncaught exception... { Error: Cannot find module 'async' at Module._resolveFilename (internal/modules/cjs/loader.js:602: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 (internal/modules/cjs/loader.js:528:25) at Module.require (internal/modules/cjs/loader.js:658:17) at require (internal/modules/cjs/helpers.js:20:18) at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-Tools/node_helper.js:9:13) at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-Tools/node_helper.js:239:3) at Module._compile (internal/modules/cjs/loader.js:711:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:722:10) at Module.load (internal/modules/cjs/loader.js:620:32) code: 'MODULE_NOT_FOUND' } 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. ^Z [2]+ Stoppé npm start -
@JohnB7777 said in Error : cannot find module "rrule":
MMM-Tools
do this
cd MagicMirror npm install asyncthen restart mirror
-
@sdetweil Ok, it works but I have another error that doesn’t prevent the start of the mirror.
Whoops! There was an uncaught exception... { Error: listen EADDRINUSE 127.0.0.1:8080 at Server.setupListenHandle [as _listen2] (net.js:1330:14) at listenInCluster (net.js:1378:12) at GetAddrInfoReqWrap.doListen [as callback] (net.js:1492:7) at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:55:10) errno: 'EADDRINUSE', code: 'EADDRINUSE', syscall: 'listen', address: '127.0.0.1', port: 8080 } 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. -
-
@sdetweil Yes, I use pm2 to start and stop the mirror but I use npm start to see the errors.
-
-
@sdetweil Oh, yes, I understand what you wanted to say.
That was the cause of the error.Now, the problem is solved, and thank you very much for your (very quick) help ! :D
-
@JohnB7777 cool… can u mark this solved now… 3 dots next to the message that u think resolves it
-
This post is deleted!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login