Giter VIP home page Giter VIP logo

Comments (7)

deontologician avatar deontologician commented on June 8, 2024

Hi @tony-kerz , it looks like this is a v8 version mismatch of some sort. It looks like your node is up to date, but perhaps node-gyp needs to be updated?

from rethinkdb-example-nodejs-chat.

tony-kerz avatar tony-kerz commented on June 8, 2024

per this i tried:

npm explore npm -g -- npm install node-gyp@latest

but still:

~/g/rethinkdb-example-nodejs-chat (master) $ npm install
\
> [email protected] install /Users/tony/git/rethinkdb-example-nodejs-chat/node_modules/bcrypt
> node-gyp rebuild

  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
../src/bcrypt_node.cc:118:18: error: no member named 'Dispose' in 'v8::Persistent<v8::Function, v8::NonCopyablePersistentTraits<v8::Function> >'
        callback.Dispose();

from rethinkdb-example-nodejs-chat.

deontologician avatar deontologician commented on June 8, 2024

Can you npm install bcrypt by itself?

from rethinkdb-example-nodejs-chat.

deontologician avatar deontologician commented on June 8, 2024

this suggests deleting your ~/.node-gyp directory.

from rethinkdb-example-nodejs-chat.

paulscliu avatar paulscliu commented on June 8, 2024

I change the package.json so bcrypt is the latest version then it compiled

from rethinkdb-example-nodejs-chat.

danielmewes avatar danielmewes commented on June 8, 2024

@deontologician should we change the bcrypt version in our package.json or would that have other side effects?

from rethinkdb-example-nodejs-chat.

deontologician avatar deontologician commented on June 8, 2024

Fixed by a7df95c

from rethinkdb-example-nodejs-chat.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.