Closed sunny-mittal closed 9 years ago
To quote @rvagg here:
Be aware that there is significant V8 API breakage at the C++ end so don't expect your favourite native addons to work out of the box.
So this is an issue with bcrypt, which needs to be updated to the latest changes in V8. https://github.com/nodejs/io.js/wiki/Breaking-Changes#300-from-2x
… and you filed the ticket against the website repo. ;) So I'm closing this here.
Sorry about that! I didn't realize /iojs/iojs redirected here. Thanks for taking the time to answer, though!
Hello, I just updated to iojs v3 and can't get bcrypt to install :( I get the following very fun error (ignore the xcode ones, though. Those are just because I didn't install the GUI). I switched back to my v2.5 install and bcrypt installs fine. Is this an issue with bcrypt or iojs (or possibly just me)?
error:
➭ npm install bcrypt@latest \
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
CXX(target) Release/obj.target/bcrypt_lib/src/blowfish.o CXX(target) Release/obj.target/bcrypt_lib/src/bcrypt.o CXX(target) Release/obj.target/bcrypt_lib/src/bcrypt_node.o In file included from ../src/bcrypt_node.cc:1: ../node_modules/nan/nan.h:261:25: error: redefinition of '_NanEnsureLocal' NAN_INLINE v8::Local _NanEnsureLocal(v8::Local val) {
^
../node_modules/nan/nan.h:256:25: note: previous definition is here
NAN_INLINE v8::Local _NanEnsureLocal(v8::Handle val) {
^
../node_modules/nan/nan.h:661:13: error: no member named 'smalloc' in namespace 'node'
, node::smalloc::FreeCallback callback