Read the statement by Michael Teeuw here.
Display turned black after I installed MMM-DigClock
-
I installed the MagicMirror recently and tried the MMM-BackgroundSlideshow. Everything worked perfectly. But then I wanted use the MMM-DigClock but then nothing worked. The display just turned black and I can see the mouse on the top left corner. I assume that it could not install correctly, because I got this after the installation of MMM-DigClock:
pi@raspberrypi:~/MagicMirror/modules/MMM-DigClock $ npm install npm WARN deprecated undefined@0.1.0: this package has been deprecated npm WARN saveError ENOENT: no such file or directory, open '/home/pi/MagicMirror /modules/package.json' npm notice created a lockfile as package-lock.json. You should commit this file. npm WARN enoent ENOENT: no such file or directory, open '/home/pi/MagicMirror/mo dules/package.json' npm WARN modules No description npm WARN modules No repository field. npm WARN modules No README data npm WARN modules No license field. removed 1 package in 1.439s found 0 vulnerabilitiesHow can I solve this problem?
-
@SirVer do this
cd ~/MagicMirror git checkout modules/node_modules/node_help/index.jsthis was because MMM-DigClock does not have a package.json file, and u should not have done npm install for it
-
@sdetweil Thanks for the answer but I get this:
pi@raspberrypi:~/MagicMirror $ git checkout modules/node_modules/node_help/index.js error: pathspec 'modules/node_modules/node_help/index.js' did not match any file(s) known to git -
@SirVer sorry, typo (left off the ‘er’ on node_helper)
cd ~/MagicMirror git checkout modules/node_modules/node_helper/index.js -
@sdetweil I have a question: I thought git checkout is just changing the branch. So what is the command here git checkout … doing in index.js ?
-
it’s much more than that.
-
@SirVer checkout can switch branches, it can also get a file from the local repository into your local working directory
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