the-road-to-graphql / fullstack-apollo-express-postgresql-boilerplate

💥 A sophisticated GraphQL with Apollo, Express and PostgreSQL boilerplate project.
https://roadtoreact.com
MIT License
1.2k stars 265 forks source link

Unable to "npm install" due to BCrypt #86

Closed ACPK closed 5 years ago

ACPK commented 5 years ago

I received the following error:

npm ERR! bcrypt@3.0.2 install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
DylanKojiCheslin commented 4 years ago

I have the same error. how did you fix this?

kah-odonnell commented 4 years ago

COME BACK

rwieruch commented 4 years ago

Do these issues help?

https://github.com/the-road-to-graphql/fullstack-apollo-express-postgresql-boilerplate/issues/28

https://github.com/the-road-to-graphql/fullstack-apollo-express-postgresql-boilerplate/issues/22

kah-odonnell commented 4 years ago

Yes I ended up going the bcryptjs route.

kah-odonnell commented 4 years ago

Pretty sure this is what I was running to: https://github.com/mapbox/node-pre-gyp/issues/477#issuecomment-534630617

Deleting package-lock.json, node_modules, and running npm update let me install bcrypt just now. I think I just picked the wrong day to do the tutorial.

Thanks for the tutorial by the way!