nischi / MMM-Face-Reco-DNN

Face recognition with opencv and deep neural network
MIT License
90 stars 46 forks source link

error while trying to install MMM-Face-Reco-DNN #123

Closed NightFalcon650 closed 1 year ago

NightFalcon650 commented 1 year ago

I tried to install this module but i'm getting these errors.

image

When i do a npm install --force i get the following errors:

image

After this i done the suggestion npm audit fix and still getting the errors:

image

What do i have to do to fix this issue and get the module installed or is there a newer working version of face-recognition with MagicMirror?

nischi commented 1 year ago

Yes this could be because npm thinks they are version incompatibilties. But this is usualy fine. You can use npm ci instead of npm install. But it seems all fine after npm install --force. so dont worry.

NightFalcon650 commented 1 year ago

Yes this could be because npm thinks they are version incompatibilties. But this is usualy fine. You can use npm ci instead of npm install. But it seems all fine after npm install --force. so dont worry.

Thanks for your reply and best wishes for 2023. I tried the NPM ci but it still gives errors. And when i add the classes to the config.js the mirror gives a error and starts the mirror with the default config.

image

Unfortunately it doesn't work and still looking for a working sollution..

nischi commented 1 year ago

Wish you also the best for 2023. This error has nothing to do with the module itself. It seems you have a corupt configuration. Maybe a comma is missing or something like that. can you send me the config?

NightFalcon650 commented 1 year ago

Wish you also the best for 2023. This error has nothing to do with the module itself. It seems you have a corupt configuration. Maybe a comma is missing or something like that. can you send me the config?

Thanks for the clear and quick reaction. Indeed i made the mistake of adding the classes and forgetting the comma. It's encoding my pics now, so hopefully when thats done it wil work :-D