Comments (7)
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.
I converted from bcrypt to bcryptjs and no longer ran into these issues.
from api-design-node-v3.
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.
bump
from api-design-node-v3.
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.
Here's how I managed to fix the issue on Linux using node v13.11.0:
- Open
package.json
and remove the line"bcrypt": "^3.0.2",
- Run
npm install bcrypt
- Run
npm install
- Run
npm audit fix
Hope it helps.
from api-design-node-v3.
I've run into the same issue
from api-design-node-v3.
Related Issues (20)
- Circular reference when removing item HOT 1
- Dependencies not installing HOT 3
- could really use some help here........Thanks in advance. Route.get() requires a callback function but got a [object Undefined]
- [SOLVED] 'NODE_ENV' is not recognized as an internal or external command
- jest giving error Timeout - Async callback was not invoked within the 5000ms timeout specified by jest.setTimeout. on some tests HOT 6
- Cannot find module bcrypt_lib.node from 'bcrypt.js HOT 2
- unable to do yarn install or npm install in the cloned repo HOT 1
- All tests timeout. Increase Jest default timeout.
- cross-env not recognized as internal or external command error HOT 1
- node modules installation ERROR HOT 4
- yarn dev is not running HOT 3
- Inconsistency of `package.json` test scripts across `solution-\d` branches
- MVC architecture
- MongoDB Network Error
- MongoDb connection failed to connect to server [localhost:27017] HOT 3
- Cannot get lesson 2 tests to initiate. HOT 6
- Unable to run tests HOT 2
- Lots of problems HOT 3
- On lesson 'https://frontendmasters.com/courses/api-design-nodejs-v3/creating-a-document/'
- Cannot read property of undefined thrown by connection.db.dropDatabase()
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from api-design-node-v3.