You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Henry.
I tried to install your plugin for Homebridge DHT12 sensors and failed to install. Log is below.
Do you have any clue what can cause it?
I tried to install with and without sudo command, result is the same:
I am using hoobs on Raspi 4
> gyp WARN EACCES current user ("hoobs") does not have permission to access the dev dir "/root/.cache/node-gyp/12.13.1"
> gyp WARN EACCES attempting to reinstall using temporary dev dir "/home/node_modules/i2c/.node-gyp"
> gyp WARN install got an error, rolling back install
> gyp WARN install got an error, rolling back install
> gyp ERR! configure error
> gyp ERR! stack Error: EACCES: permission denied, mkdir '/home/node_modules/i2c/.node-gyp'
> gyp ERR! System Linux 4.19.75-v7l+
> gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
> gyp ERR! cwd /home/node_modules/i2c
> gyp ERR! node -v v12.13.1
> gyp ERR! node-gyp -v v5.0.5
> gyp ERR! not ok
> npm WARN enoent ENOENT: no such file or directory, open '/home/package.json'
> npm WARN home No description
> npm WARN home No repository field.
> npm WARN home No README data
> npm WARN home No license field.
>
> npm ERR! code ELIFECYCLE
> npm ERR! errno 1
> npm ERR! [email protected] install: `node-gyp rebuild`
> npm ERR! Exit status 1
> npm ERR!
> npm ERR! Failed at the [email protected] install script.
> npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Your help will be appreciated.
Regards
Marcin
The text was updated successfully, but these errors were encountered:
Your permissions for your home directory are incorrect. If the home directory of your user is /home then the user was not correctly created. Normally each user should have their own home directory in /home/{username}. You can not install the plugin as root.
Edit: If you use hoobs then there is something wrong with the permissions. I do not use hoobs but can say that the plugin works on a stock linux system.
Hi Henry.
I tried to install your plugin for Homebridge DHT12 sensors and failed to install. Log is below.
Do you have any clue what can cause it?
I tried to install with and without sudo command, result is the same:
I am using hoobs on Raspi 4
Your help will be appreciated.
Regards
Marcin
The text was updated successfully, but these errors were encountered: