Coder Social home page Coder Social logo

Comments (12)

BigDogJonx avatar BigDogJonx commented on August 18, 2024

Im having the same issue, cant seem to get it to update either. Ended up having to go back to 0.1.6.

from homebridge-envisalink.

BigDogJonx avatar BigDogJonx commented on August 18, 2024

I suspect like @erfind that because we are running these on Raspberry Pi's, that the install script has an issue. It references trying to copy the git clone to /root/.npm when it should be /home/pi/.npm for Raspberry Pi. Not sure where I can correct this. Im not much of an expert on the scripts or how to change it and then run it. I cant seem to find where its getting this from since I didnt see it on the package.json or index file itself.

from homebridge-envisalink.

ToddGreenfield avatar ToddGreenfield commented on August 18, 2024

Can you install any plugin successfully? Do You normally use sudo to install plugins:?

from homebridge-envisalink.

BigDogJonx avatar BigDogJonx commented on August 18, 2024

Yes I have no problem installing other plugsins, as a matter of fact I have no issue installing 0.1.6 when I did awhile back. Yes on Raspberry Pi we have to use sudo.

Just tried to cheat it by creating a symbolic link of /root pointing to /home/pi and that didnt work, still giving permission denied (even though the /root has 777 permissions).

from homebridge-envisalink.

dustindclark avatar dustindclark commented on August 18, 2024

I initially had this problem installing as well but don't remember what the fix was. It was permissions related though. It has to do with the NodeAlarmProxy dependency:

"nodealarmproxy": "git://github.com/mattvj/NodeAlarmProxy.git",

As soon as the latest version on NodeAlarmProxy is published to npm, I can reference it there instead of from GitHub. I have reached out to @mattvj but have not heard back.

from homebridge-envisalink.

dustindclark avatar dustindclark commented on August 18, 2024

Sorry...I missed that the NodeAlarmProxy dependency was a fork. I'll try to submit a pull request to the main repo this evening.

from homebridge-envisalink.

ToddGreenfield avatar ToddGreenfield commented on August 18, 2024

One exists already, maybe a friendly nudge again... The install should still work using a git repo though... I run on RPI and do not use sudo to install packages, but re-tested and it worked ok. I also ran with sudo and it installed fine.

from homebridge-envisalink.

ToddGreenfield avatar ToddGreenfield commented on August 18, 2024

I use option 2 from this doc to not have to use sudo - https://docs.npmjs.com/getting-started/fixing-npm-permissions

from homebridge-envisalink.

dustindclark avatar dustindclark commented on August 18, 2024

I was able to merge the PR. Didn't realized that I was granted collaborator access from a previous contribution. I've requested an npm publish from the repo owner.

from homebridge-envisalink.

BigDogJonx avatar BigDogJonx commented on August 18, 2024

@ToddGreenfield Thanks, I updated the npm permissions as well, used option1 on that doc. Some update may have changed this, because now that I recall, I remember not having to use sudo before about 6-8mo ago when I setup the whole homebridge on my RPi. Thanks again.

from homebridge-envisalink.

BigDogJonx avatar BigDogJonx commented on August 18, 2024

@dustindclark I believe this issue should be closed. I was able to install the 0.2.2 finally using the command npm install -g [email protected] with no errors like the /root directory creation issue.

from homebridge-envisalink.

dustindclark avatar dustindclark commented on August 18, 2024

Thanks @BigDogJonx . Nodealarmproxy has been published upstream, so I will close this issue once I'm referencing the npm version rather than the source.

from homebridge-envisalink.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.