PatriceG / MMM-MPR121

a MagicMirror² Module based on MMM-Buttons to use a MPR121 touch-button controller instead of push-buttons
5 stars 2 forks source link

Fails to install #4

Open relic202003 opened 4 years ago

relic202003 commented 4 years ago

Hi Patrice,

Are you still supporting this module? I cannot seem to get it to install. I tried the steps outlined in your readme, but to no avail. I have attached three logs from npm for different installation attempts. Each attempt was a clean install of the module (I removed the folder, cloned it, and tried the installation again with different parameters).

The first installation attempt was the regular: npm install

The second attempt and second log was with --unsafe-perm: npm install --unsafe-perm

The third attempt was just a last hope: sudo npm install -g --unsafe-perm

Do you have any suggestions on how to fix this?

Thanks,

Nick

2020-06-03T01_10_07_177Z-debug.log 2020-06-03T01_19_28_270Z-debug.log 2020-06-03T01_24_25_531Z-debug.log

PatriceG commented 4 years ago

I'm sorry I'm no longer supporting this module. I'm no nodejs expert and my mirror is still using an old version of MagicMirror. It's working fine so I'm not touching anything.

Your log file show a permission denied: " verbose stack Error: EACCES: permission denied, access '/usr/lib/node_modules'" So you may need to run npm install with sudo.