Read the statement by Michael Teeuw here.
build MMM-AssistantMk2 Rebuild Failed
-
@marion001 great… but you should NOT use sudo
so, can u fix the sudo problem, so u don’t use sudo anymore
~/MagicMirror sudo chown -R ???? ~/.npm sudo chown -R ???? ./
where ??? is the current userid , most likely pi
but you can get the userid from the commandwhoami
-
I installed the magicmirror on androibox which has flash room armbian, I installed on the user should use sudo for full rights
pi@MagicMirror: ~ $ id
uid = 1000 (pi) gid = 1000 (pi) groups = 1000 (pi), 5 (tty), 6 (disk), 20 (dialout), 27 (sudo), 29 (audio), 44 (video), 46 (plugdev), 60 (games), 100 (users), 101 (systemd-journal), 104 (input), 108 (netdev), 111 (ssh), 112 (bluetooth)pi@MagicMirror: ~ $ whoami
pipi@MagicMirror:~$ uname -a
Linux MagicMirror 5.1.15-aml-s905 #5.91 SMP PREEMPT Wed Jul 10 15:44:57 MSK 2019 aarch64 aarch64 aarch64 GNU/Linux -
@marion001 said in build MMM-AssistantMk2 Rebuild Failed:
I installed on the user should use sudo for full rights
but the user pi doesn’t need root to run MagicMirror
next time you install a module, and don’t use sudo, things will break…best to fix it now…
-
Yes, I’ll fix it next time, thank you. (Y)
-
@marion001 cool… can u mark this issue resolved? 3 dots to the right of the message
-
@marion001 Uhhhhhh… I followed your steps to rebuild the thing in order for the module to work, but now it’s stuck at ‘Building module: grpc, Completed: 0’, and stays like that forever until I cancel the procedure with Ctrl+C. How can I resolve this? I really want Google Assistant to work but this is a hindrance that I want to remove.
-
@marion001 Uhhhhhh… I followed your steps to rebuild the thing in order for the module to work, but now it’s stuck at ‘Building module: grpc, Completed: 0’, and stays like that forever until I cancel the procedure with Ctrl+C. How can I resolve this? I really want Google Assistant to work but this is a hindrance that I want to remove.