SteveCohen / homebridge-BOMgovau

Makes BOM.gov.au data available in your Homebridge(Homekit) setup
5 stars 1 forks source link

Error on install #3

Closed 9SL9 closed 4 years ago

9SL9 commented 5 years ago

sudo npm install -g homebridge-bomgovau npm ERR! code 128 npm ERR! Command failed: /usr/bin/git submodule update -q --init --recursive npm ERR! fatal: Could not change back to '/root/.npm/_cacache/tmp/git-clone-e7bfccc2': Permission denied npm ERR!

SteveCohen commented 5 years ago

This appears to be a permissions problem, so I think this is dependent on your setup, not homebridge-BOMgovau itself. Have you tried without the sudo? Without the -g?

If that doesn't work, there are similar threads and solutions to be found via google, but the official doc also has some suggestions: https://docs.npmjs.com/resolving-eacces-permissions-errors-when-installing-packages-globally

Let me know what you try and how it goes?

SteveCohen commented 4 years ago

Closing due to no response.