-
Notifications
You must be signed in to change notification settings - Fork 117
Install seems to fail with iojs@3 #495
Comments
I had some leveldb compilation failures when installing duo on windows before iojs@3. I worked around it (copied installed duo from node_modules of other project), and didn't give it much thought. I assumed it was the endless module dependency depth issue on windows that is being fixed in npm@3, but just tried to install duo on iojs@3 and got tons of errors, same as before, so I guess it wasn't that. Errors thrown here. In my mind, the ideal fix would to remove/replace the leveldb dependency altogether. I think it was added only recently, as I don't remember Right now, looking at the error report, I have no idea whether this is:
This is so frustrating. |
@darsain I added leveldb to give duo's caching system a huge overhaul. (which it badly needed because of huge performance problems the old system had, more details here) tl;dr: the main reason I chose to adopt it is to handle parallel reading/writing, particularly in processes handling multiple builds in parallel. In a nutshell, I'm not willing to revert the caching back to what it was at this point, at least not without an as-good/better replacement. Sorry about adding complexity to the installation, but it's been a worthwhile tradeoff all things considered. |
Fwiw, leveldb has windows on their list of supported platforms, and I've only started seeing problems once iojs@3 came out. Thus, my suspicion is that they had a breaking change to something compiled modules were depending on. (particularly since they did bump major) My guess is this will be fixed by the leveldb team soon, but until they do we can just pin our test harness to iojs@2. |
On Ubuntu 15.04, with iojs@3, it looks like leveldown installation fails:
Some discussion is in the works over at Level/leveldown#211 . |
The problem is node-gyp used by nan not being compatible with the v8 version used by iojs 3. leveldown has been updated already on master, so just need to wait for releases of all the tree of dependencies. |
I haven't confirmed 100% yet, but it looks like installing duo w/ iojs@3 breaks. I'm presuming some changes there have broken compiled modules (since we use leveldb internally for the cache)
I'm thinking about pinning our tests to iojs@2 for now, any thoughts @duojs/owners ?
The text was updated successfully, but these errors were encountered: