@bojuelkjeldsen what worked for me is this:
sudo chown -R USER:USER MagicMirror
my magicmirror directory is located in /home
S
Latest posts made by stormblessed69
-
RE: Just installed... not working on ubuntu
-
Just installed... not working on ubuntu
Hey, i just installed the MMM-GoogleAssistant module along whit EXT-alert and EXT-detector. My magicmirror build is running on a 64bits laptop whit ubuntu 22.04. The problem is that when i launch the magicmirror i got the following errors: āLoading error!: ./components/website.jsā, ā[Website] try yo solve it whit ānpm run rebuildā in MMM-GoogleAssistant folderā, āError when loading ./components/snowboy library. Try: ānpm run rebuildā in EXT-Detector direcoryā.
Soā¦ iāve tried running the npm run rebuild command and this is what i got:MMM-GoogleAssistant@6.2.2 preinstall > installer/preinstall.sh -d 'pulseaudio nginx certbot python3 python-is-python3 python3-certbot-nginx make build-essential' Welcome to MMM-GoogleAssistant v6.2.2 No root checking... Checking MMM-GoogleAssistant: magic/magic Checking MagicMirror: magic/root npm ERR! code 255 npm ERR! path /home/magic/MagicMirror/modules/MMM-GoogleAssistant npm ERR! command failed npm ERR! command sh -c installer/preinstall.sh -d 'pulseaudio nginx certbot python3 python-is-python3 python3-certbot-nginx make build-essential' npm ERR! A complete log of this run can be found in: /home/magic/.npm/_logs/2024-03-10T04_50_27_561Z-debug-0.log
and this is the log:
873 info run esbuild@0.20.1 postinstall { code: 0, signal: null } 874 timing build:run:postinstall:node_modules/esbuild Completed in 59ms 875 timing build:run:postinstall Completed in 59ms 876 timing build:deps Completed in 1593ms 877 timing build Completed in 1593ms 878 timing reify:build Completed in 1595ms 879 timing reify:trash Completed in 1ms 880 timing reify:save Completed in 148ms 881 timing reify Completed in 5784ms 882 timing command:install Completed in 5811ms 883 verbose stack Error: command failed 883 verbose stack at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:53:27) 883 verbose stack at ChildProcess.emit (node:events:518:28) 883 verbose stack at maybeClose (node:internal/child_process:1105:16) 883 verbose stack at ChildProcess._handle.onexit (node:internal/child_process:305:5) 884 verbose pkgid MMM-GoogleAssistant@6.2.2 885 verbose cwd /home/magic/MagicMirror/modules/MMM-GoogleAssistant 886 verbose Linux 6.5.0-25-generic 887 verbose node v20.11.1 888 verbose npm v10.2.4 889 error code 255 890 error path /home/magic/MagicMirror/modules/MMM-GoogleAssistant 891 error command failed 892 error command sh -c installer/preinstall.sh -d 'pulseaudio nginx certbot python3 python-is-python3 python3-certbot-nginx make build-essential' 893 verbose exit 255 894 timing npm Completed in 5958ms 895 verbose code 255 896 error A complete log of this run can be found in: /home/magic/.npm/_logs/2024-03-10T05_06_28_803Z-debug-0.log
can someone help me please