Read the statement by Michael Teeuw here.
The MMM-Tools V2 doesn’t work
-
he MMM-Tools V2 doesn’t work** , showed as below :
pi@raspberrypi:~ $ cd [YourMagicMirrorDirectory]/modules
bash: cd: [YourMagicMirrorDirectory]/modules: No such file or directory
pi@raspberrypi:~ $ git clone https://github.com/eouia/MMM-Tools
Cloning into ‘MMM-Tools’…
remote: Enumerating objects: 5, done.
remote: Counting objects: 100% (5/5), done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 471 (delta 0), reused 0 (delta 0), pack-reused 466
Receiving objects: 100% (471/471), 291.40 KiB | 429.00 KiB/s, done.
Resolving deltas: 100% (271/271), done.
pi@raspberrypi:~ $ npm start dev
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path /home/pi/package.json
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, open ‘/home/pi/package.json’
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoentnpm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2021-02-08T09_12_00_398Z-debug.log
pi@raspberrypi:~ $ -
@peterpang rihgt. you misunderstood the instructions
the first command is
cd [yourMagicMirrordirectory]/modules
which means, replace [yourMagicMirrordirectory] with the name of your installation folder as u can nsme it anythingwhich would typically be
cd ~/MagicMirror/modules
and then the module install git clone
and the start. it needs to be done in the ~/MagicMirror folder too
-
@sdetweil
Thankyou , do it later ^^ -
@sdetweil
Can I just use the module name , such as MMM-Tools V2 to replace ?$ cd [YourMagicMirrorDirectory]/modules
CHANGE TO
$ cd MMM-Tools V2/modulelike this ?
-
@peterpang no. you need to be in ~/MagicMirror/modules
then
git clone …module_url
cd MMM-Tools
npm install
cd ~/MagicMirror
npm startread the two links in my signature, practice
-
@sdetweil
OK , I try again , thanks ! -
@sdetweil
Still not work on my screen =,="- cd ~/MagicMirror/modules
2)git clone https://github.com/bugsounet/MMM-Tools
3)cd MMM-Tools
4)npm install
5)cd ~/MagicMirror
6)npm start
then she run automatic …
I see one row said :
[10.02.2021 10:29.43.540] [WARN] (electron) The default value of app.allowRendererProcessReuse is deprecated, it is currently “false”. It will change to be “true” in Electron 9. For more information please check https://github.com/electron/electron/issues/18397
- cd ~/MagicMirror/modules
-
@peterpang
The main reason just my stupid , forgot to add the scripts into config.js -
@peterpang glad you found it!..
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