Read the statement by Michael Teeuw here.
Config file
-
@sanaa1369 said in Config file:
how do you create a config file when i run npm start it says the file is missing and i need to create one
https://forum.magicmirror.builders/topic/4528/how-to-create-a-working-config-for-absolute-beginners
-
@sdetweil thank’s but i am new to this i know how to copy but were to paste.
-
@cowboysdude thank"s for trying to help me but it can find the file to copy it
-
The instructions say
Copy /home/pi/MagicMirror/config/config.js.sample to /home/pi/MagicMirror/config/config.js.
-
@mykle1 Thank’s for trying to help me i am new to this but i must have made a mistake now when i put in npm start it give me the same message and then lock the screen and i have to reboot
-
It’s hard to know what’s going on there by your descriptions. However, when you were getting the error “the file is missing and i need to create one” your MM was working EXCEPT for the config.js needing to be created. In your config folder, there should be a file named config.js.sample. This file should not be edited. You have to copy this file and paste it in the same folder, renaming it to config.js. You now should have config.js.sample file and the config.js file in the same folder (the config folder of MagicMirror). Unless you’ve made some other changes this will allow the mirror to run.
-
@sanaa1369 - The screen isn’t really locked, it’s just displaying the MagicMirror application in full screen. If you hit
Alt+Q
it should give you your command prompt back. -
Some other very useful key commands for MagicMirror
-
That’s a link that will be saved for later use. Thanks
-
@mykle1 thank’s a lot i appreciate it