-
Notifications
You must be signed in to change notification settings - Fork 136
Recommended Node.js version #61
Comments
Hey! I believe 0.12.7 would be the recommended version of Node for spark-server. I do however want to set the expectation that it may be buggy when used with Photons. We have been pushing hard to ship features requested of our cloud by the majority of our users. Unfortunately, in the mean time the spark-server implementation has lagged behind. This may be frustrating for you if your primary intent is to develop something with a local cloud (rather than just hacking and experimenting). I am more than happy to help you with any issues you run into, but I wanted to make sure this was something you were aware of going into the endeavor! |
It used to be that 0.10.40 was the requirement, and it has to do with the I just checked https://github.com/quartzjer/ursa, and it seems they have fixed the compatibility for 0.12.7 2 weeks ago, so yeah, I'd give 0.12.7 a shot, and fall back to 0.10.40 if it fails to install @emilyrose, on a sidenote: any updates on #53, #55, #56? Cheers |
^ yes, a massive +1 for all of those!! |
Sadly, I don't have any updates on these issues just yet. I know that an updated With that said, I do appreciate the time that went into reporting these issues! I'm sorry that I can't be more specific or particularly helpful. |
Thanks! I know the spark-server is still getting up to speed w.r.t. the Photon, so no worries. I'd like to help, so I'll be sure to send feedback/updates as I stumble my way through getting it working. More TK, Bill |
That is super awesome and I am more than happy to help facilitate your continued discovery! Please feel free to open issues if you run into anything that you think needs attention. — Emily |
@ckbehemoth, I've had to deploy another instance of my local cloud, and after rebuilding everything from scratch I can unfortunately confirm that While the My local cloud is on a RPi2, running Debian Jessie, 4.1.12-v7+. |
@chuank Thanks! Your setup sounds like mine. I'll be curious (in my copious free time :P ) to take a look at the differences between the versions w.r.t. the crypto. Gonna have to wait until after Halloween, though... |
Hey, I think this might help (maybe not for windows people though). cd spark-server # Or not if you're there already
npm install # from higher node versions ( I used v0.12.5 )
nano node_modules/spark-protocol/lib/CryptoStream.js Then modify it with the changes in this particle-iot/spark-protocol#14 |
change spark-protocol nodemon watch folder
Hello all,
I'm just getting my local spark server installed for testing and I was wondering what the current recommended node.js version is (0.10.X, 0.12.X, or the 4.X). I didn't see it mentioned in the README, etc, so apologies if I failed to RTFM.
TIA,
Bill
The text was updated successfully, but these errors were encountered: