@sdetweil
sorry for the late response
After installing pipenv I still can’t get the dependencies to be installed seems to look up at the Pipfile.lock and then after some time it spits out a bunch of failure messages
Read the statement by Michael Teeuw here.
Posts
-
RE: Unable to run MM install script with raspbian bookworm
-
RE: Unable to run MM install script with raspbian bookworm
@sdetweil
ok that worked please close this one … looks like I am having another problem with the module mmm-face-reco-dnn all other modules seem to be installing ok -
RE: Unable to run MM install script with raspbian bookworm
@sdetweil
admin@rasmm:~ $ node -v
v20.8.1 -
RE: Unable to run MM install script with raspbian bookworm
@sdetweil
sorry just lost power for a bit there…
so to answer your questions this was a fresh install of MM on a new SD card
no I installed the opencv and dlib first as I have had issues with them in the past so I built them from source…
while doing some reading I installed nodejs from the steps on their site and then ran your script and now it installed everything and ran pm2 as well … vnc is not working but thats ok for now.also note I was trying to upload my install.log but it won’t let me upload a .log file
-
RE: Unable to run MM install script with raspbian bookworm
this was a new sd card and new install …
for some reason it is telling me the log file needs to end in png… jpeg not in .log
anyway to get ti working I had to do the followingsudo apt-get update && sudo apt-get install -y ca-certificates curl gnupg
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
NODE_MAJOR=20
echo “deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main” | sudo tee /etc/apt/sources.list.d/nodesource.list
sudo apt-get update && sudo apt-get install nodejs -y -
Unable to run MM install script with raspbian bookworm
this is the error that I am getting …
ReferenceError: primordials is not defined
at evalmachine.:43:5
at Object. (/usr/lib/node_modules/npm/node_modules/graceful-fs/fs.js:11:8)
at Module._compile (node:internal/modules/cjs/loader:1233:14)
at Module._extensions…js (node:internal/modules/cjs/loader:1287:10)
at Module.load (node:internal/modules/cjs/loader:1091:32)
at Module._load (node:internal/modules/cjs/loader:938:12)
at Module.require (node:internal/modules/cjs/loader:1115:19)
at require (node:internal/modules/helpers:130:18)
at Object. (/usr/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:3:27)
at Module._compile (node:internal/modules/cjs/loader:1233:14)Node.js v20.5.1
npm installation Done! version=V
It seems like MagicMirror is already installed.
To prevent overwriting, the installer will be aborted.
Please rename the ~/MagicMirror folder and try again. -
MMM-Face-Reco-DNN how to setup multi users
Hi I am a complete noob and have been trying to get the multi user working … I have the dataset created and when I do the encode it seems to work but for the life of me I can not get the users to work… I have added the following to the module config(tried both user/userClasses)
// Array with usernames (copy and paste from training script)
//users: [“Ivan”,“John”],
or
userClasses: [“Ivan”,“John”],then assigned the module to the person
{
module: ‘MMM-GoogleMapsTraffic’,
classes: “Ivan”,
position: ‘bottom_left’,when I run the npm start all I get are the always modules but the ones assigned to the user don’t show up. Where am I going wrong did I miss a step facial rec is working .
Any help would be greatly appreciated as I love this module so far just can’t get that part working.