node-jack-connector icon indicating copy to clipboard operation
node-jack-connector copied to clipboard

node-gyp installation issue

Open whizkid79 opened this issue 9 years ago • 17 comments

I tried to get node-jack-connector installed on with node v6.7.0. Unfortunately it throws a lot of errors on node-gyp. Any advices?

This is the lengthy output: https://gist.github.com/whizkid79/a006ee88b97228fc87eb0439bd422ea3

whizkid79 avatar Oct 05 '16 22:10 whizkid79

@whizkid79 I didn't try to build this for years. My guess is it's because of broken backward compatibility of V8 API, some guy advised me to use this abstraction to keep it works, but I didn't touch this project for a long time, may be I'll fix this, but don't know how soon.

unclechu avatar Oct 06 '16 00:10 unclechu

thanks @unclechu. That's the same results i found out during my research yesterday e.g. see: https://nodesource.com/blog/c-add-ons-for-nodejs-v4/

I think I give it a try to migrate it to the new api. Are you interested in a PR?

whizkid79 avatar Oct 06 '16 07:10 whizkid79

@whizkid79 Only if it works with older version too (actually with 0.9.0). I'm not interested in fix for new version and brake backward compatibility for old one.

unclechu avatar Oct 06 '16 15:10 unclechu

I can understand that, @unclechu. I'm struggeling to get it installed. Can you please give me your versions of node, npm and node-gyp? These would be a great addition to the readme...

Mine are:

node -v v0.9.12

npm -v 3.10.8

node-gyp -v v3.4.0

whizkid79 avatar Oct 06 '16 19:10 whizkid79

@whizkid79 It was long time ago, I don't have this anymore, but we can see here: https://github.com/unclechu/node-jack-connector/blob/bcd895d14ead1a20092185b4f6ac3b9dc868b9c3/package.json#L25 and use version 0.9.0 with npm version that comes with this version that in turn can be get there: https://nodejs.org/download/release/v0.9.0/

unclechu avatar Oct 06 '16 19:10 unclechu

It also becomes complicated because now we need to test it on couple of major versions, at least on these:

  • 0.9.0
  • 0.10.0
  • 0.11.0
  • 0.12.0
  • 1.0.0 (io.js)
  • 2.0.0 (io.js)
  • 3.0.0 (io.js)
  • 4.0.0
  • 5.0.0
  • 6.0.0

unclechu avatar Oct 06 '16 19:10 unclechu

I'm not sure if it would change the situation a lot, because it seams kind of impossible to get it running. I've tried 0.9.0, 0.9.12 (latest), 0.10.x (latest), and it fails on all places. Looks like it is not usable at all... Do you have a system somewhere to find a working combination of versions? I could get past the node api issues, but then it was complaining about uv_worker_... something

whizkid79 avatar Oct 08 '16 09:10 whizkid79

a version working with recent node versions (maybe in a separate branch) would be benefitial I guess. but it would be a lot of manuall work to move it to the latest api.

whizkid79 avatar Oct 08 '16 09:10 whizkid79

👍

kenjinp avatar Oct 08 '16 14:10 kenjinp

I guess it's better to release new major version based on nan API abstraction than trying to add some pre-processor conditions for different versions. Now I'm busy, may be after I finish my current tasks I'll try to do it.

unclechu avatar Oct 08 '16 17:10 unclechu

Hi @unclechu any progress with that? I'm trying to use it with node 8 10x!

matansag avatar Dec 14 '17 07:12 matansag

@matansag sorry but no, I'm not enthusiastic enough to spend time writing js code anymore. Not sure if I'm going back to work on this project. Maybe if I would have more free time.

unclechu avatar Dec 14 '17 10:12 unclechu

@matansag do you plan to work on this, and is there an alternative?

M-Abozaid avatar Mar 12 '19 10:03 M-Abozaid

same here, its looking grim to be able to use jack audio with node.

stratemeyerjw avatar Mar 27 '19 01:03 stratemeyerjw

+1

omarcostahamido avatar May 25 '20 20:05 omarcostahamido