particle-iot / spark-server

UNMAINTAINED - An API compatible open source server for interacting with devices speaking the spark-protocol
https://www.particle.io/
GNU Affero General Public License v3.0
441 stars 136 forks source link

ursa dependency #1

Closed kennethlimcp closed 10 years ago

kennethlimcp commented 10 years ago

Can we switch over to soft-dependency for this module?

Had this issue with Spark-CLI previously as it requires Python in order to install correctly.

kennethlimcp commented 10 years ago

@dmiddlecamp,

Can you switch to soft dependency for now? Seems like the issue for windows

screen shot 2014-07-03 at 23 38 47

https://dl.dropboxusercontent.com/u/36134145/spark-server/npm-debug.log

dmiddlecamp commented 10 years ago

In this case ursa is a hard dependency, the protocol module needs to do a bunch of encryption in code, so it has to stay.

dmiddlecamp commented 10 years ago

It is possible to install this module in windows, it probably just needs the Visual Studio C++ redistributable -

Visual C++ Redistributable (64bit): https://dl.dropboxusercontent.com/u/36134145/Spark-cli/vcredist_x64.exe

Visual C++ Redistributable (32bit): https://dl.dropboxusercontent.com/u/36134145/Spark-cli/vcredist_x86.exe

dmiddlecamp commented 10 years ago

Hmm, we really only need it in spark-protocol, so I removed it from spark-server, you still need to be able to install it though.

I also added mentions of those packages to https://github.com/spark/spark-protocol/blob/master/doc/INSTALL.md