You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Please make iojs and bson works together on Windows x64 #1245
Why has this problem never solved?
Is this some kind of mission impossible?
node-gyp for iojs doesn't work.....and never updated since for several month ago
At least could you make bson.node for iojs and windows x64? and of course give us a link..
@Fishrock123 Yeah I moved the node-gyp folder in iojs program files folder to username\AppData\Roaming\npm\node-modules and I built bson.node and again I got this message
[Error: Module did not self-register.]
js-bson: Failed to load c++ bson extension, using pure JS version
@alanpurple Are you using iojs or node to start your script? You need to use the former on Windows at the moment because of the way the node alias is created on Windows.
Activity
mscdex commentedon Mar 24, 2015
It builds just fine for me on Windows 7 64-bit, VS 2013, iojs 1.3.0,
bson0.2.21. Running the example in thebsonreadme works too.alanpurple commentedon Mar 24, 2015
Right.........
Then maybe this is the problem with Windows 8.1 x64
mscdex commentedon Mar 24, 2015
@alanpurple I just tried on Windows 8 64-bit, VS 2012, iojs 1.6.2, same
bsonversion. It builds fine and the readme example also works.Fishrock123 commentedon Mar 24, 2015
@alanpurple can we get an error log maybe? What version of bson and what version of io.js?
alanpurple commentedon Mar 24, 2015
Okay now I'm about to try again...
@Fishrock123 bson version 0.2.18, iojs 1.4.x
Even I don't know how to make node-gyp work for iojs....(I just modified node-gyp source code for iojs)
And I finally got module error from iojs console
Fishrock123 commentedon Mar 24, 2015
@alanpurple You'll need to use the node-gyp that ships with io.js. Here's the floating patch we still need to apply each time npm updates: 269e46b
Also, you need to use at least bson 0.2.19: https://github.com/mongodb/js-bson/releases/tag/V0.2.19
Fishrock123 commentedon Mar 24, 2015
See also #456 -- native packages either require NAN 1.6+, or updated native bindings to run on io.js (or even node 0.12)
alanpurple commentedon Mar 24, 2015
@Fishrock123 sorry I use 0.2.19 and I successfully built node.js version(which means I know what to do)
And of coursse I know there is iojs version of node-gyp https://github.com/rvagg/node-gyp/
and that didn't work at all and rvagg knows this because I told him
Fishrock123 commentedon Mar 24, 2015
@alanpurple can you try using both the latest io.js and bson, using the node-gyp that comes with io.js? (not quite rvagg/node-gyp iirc)
(Also, please post an error log)
alanpurple commentedon Mar 24, 2015
@Fishrock123 Yeah I moved the node-gyp folder in iojs program files folder to username\AppData\Roaming\npm\node-modules and I built bson.node and again I got this message
[Error: Module did not self-register.]
js-bson: Failed to load c++ bson extension, using pure JS version
mscdex commentedon Mar 24, 2015
@alanpurple Are you using
iojsornodeto start your script? You need to use the former on Windows at the moment because of the way thenodealias is created on Windows.alanpurple commentedon Mar 25, 2015
@mscdex Thanks!!!!!!!! with iojs.exe the message is gone
and sorry for all this noise, I could'n find solution anywhere
Fishrock123 commentedon Mar 25, 2015
Related to #751 -- sorry I didn't point you there sooner.
debugging windows ions build error