Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu & Mac npm install error #59

Open
rbaindourov opened this issue Jun 21, 2016 · 4 comments
Open

Ubuntu & Mac npm install error #59

rbaindourov opened this issue Jun 21, 2016 · 4 comments

Comments

@rbaindourov
Copy link

rbaindourov commented Jun 21, 2016

Hi There,
Thanks for this package.
This looks like its going to be the cure to most of my problems!

I'm just having some issues installing on Ubuntu.
I have included the log file in this pastebin
Its the result from this command
sudo npm install -g openzwave > log.txt 2>&1 &
npm 3.9.5 node 6.2.2

And on Mac as well.
Here is the pastebin from my Mac.
npm 3.10.2 node v6.2.2

I have forked and tried converting the ozwcp into a json api I can poll.
But the all poll functionality is not working in their CP.

I'm trying to install your package to build an RESTful API over OpenZWave.

Thanks!

@rbaindourov rbaindourov changed the title Ubuntu npm install error Ubuntu & Mac npm install error Jun 21, 2016
@jperkin
Copy link
Owner

jperkin commented Jun 22, 2016

Unfortunately this module doesn't yet support newer node releases. At some point I will convert it over to nan so that it works across all releases, as I've done for node-rpio, but need to find the time to do this.

@rbaindourov
Copy link
Author

So it will compile on the PI!
Or it should.
That's my target environment anyway.

Thanks for the info!
I was wondering about that.
Having a heck of a time converting OZWCP into a pollable JSON API.
Literally have 30 hours to get this working.

:)

@jperkin
Copy link
Owner

jperkin commented Jun 22, 2016

It should still work with nodejs up to 0.10, just not with 0.12 onwards as they changed the API.

@rbaindourov
Copy link
Author

I misunderstood your original comment about node-rpio, Sorry.

So whats the level of effort, do you think on updating the API?
This would open up a whole new world of development.
Can you imagine writing a Control Panel in C++!
That's what they are doing at OpenZWave.
NodeJS would just blow the doors open on zwave development.

I think I will try to tackle this, if that's okay with you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants