Giter Site home page Giter Site logo

Comments (7)

turbek avatar turbek commented on June 27, 2024 6

bycrypt is not working with the v12.8.0 node version. You either replace bcrpot with bcryptjs, as mention before or install 10.x version of node.

use nvm for versioning your node.js versions!

from api-design-node-v3.

fremont-holt avatar fremont-holt commented on June 27, 2024 1

I converted from bcrypt to bcryptjs and no longer ran into these issues.

from api-design-node-v3.

stormwatch avatar stormwatch commented on June 27, 2024 1

bycrypt is not working with the v12.8.0 node version. You either replace bcrpot with bcryptjs, as mention before or install 10.x version of node.

use nvm for versioning your node.js versions!

Node v11.15 will install just as fine. I'll try to prepare a PR after finishing the course in order to support node versions >11

from api-design-node-v3.

elvisgraho avatar elvisgraho commented on June 27, 2024

bump

from api-design-node-v3.

chuckcharles avatar chuckcharles commented on June 27, 2024

I had to replace bcrypt with bcryptjs in package.json and then update user.model.js to use bcryptjs.
I also had to:
npm install --save-dev mock-req-res
npm install --save-dev sinon
Then run npm install

from api-design-node-v3.

cosmin84 avatar cosmin84 commented on June 27, 2024

Here's how I managed to fix the issue on Linux using node v13.11.0:

  1. Open package.json and remove the line "bcrypt": "^3.0.2",
  2. Run npm install bcrypt
  3. Run npm install
  4. Run npm audit fix

Hope it helps.

from api-design-node-v3.

dbertozzi avatar dbertozzi commented on June 27, 2024

I've run into the same issue

from api-design-node-v3.

Related Issues (20)

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.