-
Notifications
You must be signed in to change notification settings - Fork 48
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
error with npm install epocjs #2
Comments
I can relate to this. On a Mac the package assumes you already set up your .frameworks and also looks for the Unity4Xc library in the Xcode library.
Could these be included with the bundle so that the necessary files would be included in the node_modules?
|
Hey! I just pushed a major update to the code and the SDK files are now included. Would you mind trying again and letting me know if it works? |
Hiya, my Unity problem was semi-related to this, it was actually Unity's own fault which went away after an upgrade and removing of a shortcut link that pointed nowhere. On the other hand, still having trouble installing the module: My current Node version:
Clang is looking for missing files in: '/usr/local/lib/ (...)'.
|
Ok, sorry, the paths to the libraries were wrong. I updated them. If you already installed the EmotivXavier SDK on your computer, you should now have the libraries under Also, I'm using Node v6.10.2. Let me know if this helps! |
OK, getting warmer, I looked through my filesystem and found no sign of any libedk*.* files lurking in the /Libraries or /usr/ 's. The other thing is, you are using the Premium SDK and all I have is the measly community version :) |
Thanks Charlie for the update! Will see if I get it working this time |
@peterpoliwoda @ecargnfx I did some research and realised that the files "libedk.*" were part of the old SDK. The new SDK should be available under "/Library/Frameworks/edk.framework/", but it uses new functions like "IEE_EmoEngineEventCreate()" instead of "EE_EmoEngineEventCreate()" so I need to refactor the code to use the new functions. It shouldn't take too long if you give me a few days to get back to you! :) |
That's great. Thanks a ton Charlie! |
@peterpoliwoda Sorry for the delay, I've finally found time to make some updates! :) If you haven't installed the Emotiv SDK yet, you can download it here and copy the edk.framework folder to Let me know if you run into any issue! |
Thank you Charlie!! Trying it out. Will be so awesome to get this working
…On Sat, Jun 24, 2017 at 6:23 AM, Charlie ***@***.***> wrote:
@peterpoliwoda <https://github.com/peterpoliwoda> Sorry for the delay,
I've finally found time to make some updates! :)
I've updated the version to 2.1.0 so, would you mind updating and trying
again please?
If you haven't installed the Emotiv SDK yet, you can download it here
<https://github.com/Emotiv/community-sdk/tree/master/lib> and copy the
edk.framework folder to /Library/Frameworks/ (on Mac).
Let me know if you run into any issue!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAlPZ4VidQ90MpbSGNOe95BTXJMUHpKpks5sHDrogaJpZM4LAWof>
.
|
Hey Charlie, tested it on node v6.11.5. It's installing alright, with some warnings now:
running into trouble with running the sample script is giving out that there's some missing files. (sorry it took that long btw)
|
Hey! Don't worry about the warnings, it's just some unused variables that I need to clean up. About the error though, I made some changes last week when I was updating some parts of the code (I added some code to access the gyroscope data!! :D), have you updated the module to the latest version? |
I got the latest epocjs node module and got the fresh .framework file for the Mac, one from the Emotiv community github. I poked around the module a bit to try to give the libedk an absolute file path, which didn’t help much. I’m not too familiar with C++ (?). Maybe it’s not set up as a dependency? |
Ok, I can try and install the module on my new laptop and I'll see if i run into the same issues and will let you know when i get time to fix it! :) |
Hey @piotrekkmt ! I made some changes today and updated the version of the module, do you mind trying again and letting me know if you still have some issues? |
Sure thing, I'll try it tonight after work. Thanks for a quick response. Btw, I heard you're coming to Ireland. The conference place looks amazing 😄 ! |
Alright, I think I (finally) fixed it! I've had to add some dynamic libraries inside the lib folder so you shouldn't get any error about missing files anymore. Usually these dynamic libraries should be added to your /usr/local/lib/ folder (on Mac), but just to make it easier, i just added them in the project and referenced the right path in the binding.gyp file. Also, I've realised it works better with the v3.4.0 of the community SDK, not the latest one (3.5.0). So if you could re-download the SDK if you don't have the correct version, that would be good! Let me know when you get time to try that out and fingers crossed this time it will work just fine! 🤞 And, yes, I'll be in Ireland next week!! 😃 |
Yep, can confirm it installs and runs now. Now I need to figure out how to retrieve the profiles but that's a story for another coffee infused evening. Thank you for fixing it! Enjoy Kilkenny, it's a nice spot! Shame I can't attend NodeConf. Maybe you could give a talk on some Jedi powers in one of the Dublin meetups too, if you're around for a bit longer 😄? |
Thanks for the update! Will try this out as well. In the meantime, I had created my projects using the Muse node package. |
Any fix for this?
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the epocjs package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
The text was updated successfully, but these errors were encountered: