Read the statement by Michael Teeuw here.
Complete Walkthrough - Install MagicMirror on a PC - Windows 7/10
-
Thanks for this guide its been really helpful, it has enabled me to install MM on a win7 VM acting as a node serveronly on an always on machine, which helps to release some resources on a Pi zero attached to a display.
Everything seems to run OK, other than any module that pulls images from a path e.g. MMM-Wallpaper, MMM-Backgroundslideshow, even when the config is left to use the default paths to the module’s examples, there is an ENOENT error shown in the Git Bash window. Doesn’t matter if they are url link images i.e. bing or locally stored images.
Using the exact same config script when installed on a Pi the background images show.
Anyone got any ideas about how this can be fixed, as I’m not using it as a mirror, but as a family kitchen dashboard so the images are fairly important.
a “npm run config:check” command says that there are no syntax errors in the config file
I believe it has to to with path syntax between windows and linux but that is about all I can come up with
Whoops! There was an uncaught exception... { Error: ENOENT: no such file or directory, scandir '/modules/MMM-BackgroundSlid eshow/exampleImages' at Object.readdirSync (fs.js:785:3) at Class.getFiles (C:\Users\Admin\MagicMirror\modules\MMM-BackgroundSlidesho w\node_helper.js:71:45) at Class.gatherImageList (C:\Users\Admin\MagicMirror\modules\MMM-BackgroundS lideshow\node_helper.js:60:12) at Class.socketNotificationReceived (C:\Users\Admin\MagicMirror\modules\MMM- BackgroundSlideshow\node_helper.js:92:28) at Socket.<anonymous> (C:\Users\Admin\MagicMirror\modules\node_modules\node_ helper\index.js:113:11) at Socket.emit (events.js:189:13) at C:\Users\Admin\MagicMirror\node_modules\socket.io\lib\socket.js:528:12 at process._tickCallback (internal/process/next_tick.js:61:11) errno: -4058, syscall: 'scandir', code: 'ENOENT', path: '/modules/MMM-BackgroundSlideshow/exampleImages' } MagicMirror will not quit, but it might be a good idea to check why this happene d. Maybe no internet connection? If you think this really is an issue, please open an issue on GitHub: https://gi thub.com/MichMich/MagicMirror/issues
-
Just to be sure… You do have a folder named exampleImages within you MMM-BackgroundSlideshow directory???
I just installed and ran this module on my Windows device and it works just fine.
Looking at the error you posted above, it looks as if your exampeImages folder is missing.
-
I can confirm that the folder is there
Modules were installed using git clone command while in the MagicMirror/modules folder.
Is there anything different you have to do when installing modules under a windows system
Currently I’m just doing the above command and then adding the required code to the config file
-
Not that I can think of
I’m not using a RasPi either.
If I had one, I would try it to se if any difference.Sorry.
-
@jelbear - To my knowledge, the only difference between Windows and Linux systems is that you may have to specify the file paths slightly differently. Windows requires you to put any folder with a space in the name in quotes. This can get tricky when you’re passing in a string which is surrounded by quotes and also contains quotes.
Is there a space in any part of your path to the exampleImages folder?
-
This post is deleted! -
it somehow seems to have resolved itself
i deleted the folder and redid the git clone and it is working, not sure what happened, but it is working now,
many thanks for taking the time to reply
-
@Mykle1 said in Complete Walkthrough - Install MagicMirror on a PC - Windows 7/10:
Install MagicMirror on a PC Windows 7/10 - Complete walkthrough
Thank you so much for this post! I’m new to the Pi and MagicMirror. Working on the PI remotely was a bit of pain and this allowed me to run MagicMirror on my main machine with VMWare Workstation.
First off let me say these instructions were ‘spot-on’ and I was up and running immediately.
As I added modules, I noticed some of them were not working, a.k.a. not loading any data. They would activate, say “loading…” and nothing else.
I researched a few of the modules I was using and found one step that needs to be on your list:
‘npm install request’
After that, the modules in question began updating with data.
Thank you again for giving me a better dev environment to work in!
Brandon
-
@brandonbrown said in Complete Walkthrough - Install MagicMirror on a PC - Windows 7/10:
I researched a few of the modules I was using and found one step that needs to be on your list:
‘npm install request’Well, the modules that require that package should tell you in their respective readme files but thanks for the headsup. I’m glad you found the tutorial helpful. :-)
-
Hello, I had an EACCESS error thrown when launching the MM as directed in this thread. I was able to fix this error by changing the port number from 8080 to 9000 in config.js