# Bcrypt bug preventing setting up Local Host versions

**URL:** https://publichappinessmovement.com/t/topic/2631
**Category:** React Js and Meteor
**Tags:** bcrypt, done, webdev, reactjs, sys-admin
**Created:** [15 August 2021 21:24 UTC](https://publichappinessmovement.com/t/topic/2631 "2021-08-15T21:24:06Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![AndyatFocallocal](https://publichappinessmovement.com/user_avatar/publichappinessmovement.com/andyatfocallocal/32/651_2.png) [@AndyatFocallocal](https://publichappinessmovement.com/u/AndyatFocallocal)
#### Post date: [15 August 2021 21:24 UTC](https://publichappinessmovement.com/t/topic/2631/1 "2021-08-15T21:24:06Z")

</div>

[@ReactMeteor](https://publichappinessmovement.com/groups/reactmeteor) and [@SysAdmin](https://publichappinessmovement.com/groups/sysadmin), there seems to be a new issue preventing developers working on the Reactjs and Meteor side of the platform from setting up a local instance to build on.

@zdbrenda or @ludanin, can one of you please post the error logs here and any other relevant details.

Also, does anyone know any Meteorjs forums we can ask on? Meteor is planning on a big comeback at the start of next year and hopefully devs there will be extra eager to help an ambitious opensource homelessness project.

---

<div class="post-metadata">

### Author: ![ludanin](https://publichappinessmovement.com/user_avatar/publichappinessmovement.com/ludanin/32/840_2.png) [@ludanin](https://publichappinessmovement.com/u/ludanin)
#### Post date: [15 August 2021 22:52 UTC](https://publichappinessmovement.com/t/topic/2631/2 "2021-08-15T22:52:41Z")

</div>

[node\_fail.doc](https://publichappinessmovement.com/uploads/short-url/jLa8mQsyuHJh0CIuqCq8A4y1x0w.doc) (825.5 KB)  
It’s actually a plaintext file but it seems we can’t upload these here – so if you have any problems opening it just rename it to an extension your OS recognizes.

---

<div class="post-metadata">

### Author: ![AndyatFocallocal](https://publichappinessmovement.com/user_avatar/publichappinessmovement.com/andyatfocallocal/32/651_2.png) [@AndyatFocallocal](https://publichappinessmovement.com/u/AndyatFocallocal)
#### Post date: [16 August 2021 13:54 UTC](https://publichappinessmovement.com/t/topic/2631/3 "2021-08-16T13:54:07Z")

</div>

These solutions are pretty old, but it does look like this has been a common error devs have encountered with Meteorjs, and there are a few potential solutions in this thread you can try:

> **[Npm bcrypt and meteor npm bcrypt madness](https://forums.meteor.com/t/npm-bcrypt-and-meteor-npm-bcrypt-madness/28714/73)**
>
> I reinstalled xcode CLT, but still don’t work ➜ meteor1.4 meteor npm i -S bcrypt \> bcrypt@3.0.3 install /Volumes/DATA/MeteorApp/meteor1.4/node\_modules/bcrypt \> node-pre-gyp install --fallback-to-build node-pre-gyp WARN Using needle for...

---

<div class="post-metadata">

### Author: ![AndyatFocallocal](https://publichappinessmovement.com/user_avatar/publichappinessmovement.com/andyatfocallocal/32/651_2.png) [@AndyatFocallocal](https://publichappinessmovement.com/u/AndyatFocallocal)
#### Post date: [16 August 2021 13:55 UTC](https://publichappinessmovement.com/t/topic/2631/4 "2021-08-16T13:55:25Z")

</div>

Here’s a solution from July 4th this year:

> <https://github.com/kelektiv/node.bcrypt.js/issues/432>
>
> I get the folowing errors when trying to run \`npm install\` with \`"bcrypt": "^0.8….6"\` as a \`devDependency\`
> 
> \`\`\`
> error bcrypt@0.8.7 install: \`node-gyp rebuild\`
> error Exit status 1
> error Failed at the bcrypt@0.8.7 install script.
> error This is most likely a problem with the bcrypt package,
> error not with npm itself.
> error Tell the author that this fails on your system:
> error node-gyp rebuild
> error You can get their info via:
> error npm owner ls bcrypt
> error There is likely additional logging output above.
> error System Windows\_NT 10.0.10586
> error command "C:\\\\Program Files\\\\nodejs\\\\node.exe" "C:\\\\Program Files\\\\nodejs\\\\node\_modules\\\\npm\\\\bin\\\\npm-cli.js" "install"
> error cwd C:\\Users\\username\\Documents\\my-app
> error node -v v4.2.4
> error npm -v 1.4.3
> error code ELIFECYCLE
> verbose exit \[1, true \]
> \`\`\`
> 
> Thanks!

---

<div class="post-metadata">

### Author: ![AndyatFocallocal](https://publichappinessmovement.com/user_avatar/publichappinessmovement.com/andyatfocallocal/32/651_2.png) [@AndyatFocallocal](https://publichappinessmovement.com/u/AndyatFocallocal)
#### Post date: [16 August 2021 13:57 UTC](https://publichappinessmovement.com/t/topic/2631/5 "2021-08-16T13:57:59Z")

</div>

Here’s a different solution from last year which blames the problem on an incorrect url:

[http://5.9.10.113/64255563/bcrypt2-0-1-trying-to-download-from-wrong-url-results-404-how-to-fix](http://5.9.10.113/64255563/bcrypt2-0-1-trying-to-download-from-wrong-url-results-404-how-to-fix)

Hopefully if you guys try these out one will solve the issue. If you succeed please create documentation for this error and fix as it looks like everyone is going to run into it.

---

<div class="post-metadata">

### Author: ![AndyatFocallocal](https://publichappinessmovement.com/user_avatar/publichappinessmovement.com/andyatfocallocal/32/651_2.png) [@AndyatFocallocal](https://publichappinessmovement.com/u/AndyatFocallocal)
#### Post date: [16 August 2021 14:27 UTC](https://publichappinessmovement.com/t/topic/2631/6 "2021-08-16T14:27:54Z")

</div>

Oh, one more thought @zdbrenda and @ludanin. You guys aren’t trying to set up n Windows are you, as that’s always a pain in the ass.

---

<div class="post-metadata">

### Author: ![ludanin](https://publichappinessmovement.com/user_avatar/publichappinessmovement.com/ludanin/32/840_2.png) [@ludanin](https://publichappinessmovement.com/u/ludanin)
#### Post date: [16 August 2021 19:06 UTC](https://publichappinessmovement.com/t/topic/2631/7 "2021-08-16T19:06:41Z")

</div>

Thanks for finding a solution, I’ll try to see if it works after work!

> Oh, one more thought @zdbrenda and @ludanin. You guys aren’t trying to set up n Windows are you, as that’s always a pain in the ass.

Nope, and whenever I develop on a Windows I make sure to use WSL – because yeah, making anything work on Windows is a real pain in the ass haha.

---

<div class="post-metadata">

### Author: ![AndyatFocallocal](https://publichappinessmovement.com/user_avatar/publichappinessmovement.com/andyatfocallocal/32/651_2.png) [@AndyatFocallocal](https://publichappinessmovement.com/u/AndyatFocallocal)
#### Post date: [16 August 2021 20:10 UTC](https://publichappinessmovement.com/t/topic/2631/8 "2021-08-16T20:10:33Z")

</div>

@tmcnulty tried to recreate your issues yesterday and the setup worked fine for him… which isn’t much help in identifying the issue, but it does show that there is a way to get it running. He was following the same guide, maybe he had a required framework or something on his PC. Anyway, hopefully the steps above will solve it.

---

<div class="post-metadata">

### Author: ![tmcnulty](https://publichappinessmovement.com/user_avatar/publichappinessmovement.com/tmcnulty/32/953_2.png) [@tmcnulty](https://publichappinessmovement.com/u/tmcnulty)
#### Post date: [20 August 2021 02:44 UTC](https://publichappinessmovement.com/t/topic/2631/9 "2021-08-20T02:44:12Z")

</div>

@ludanin Can you try changing line 17 in package.json to

```
 "bcrypt": "3.0.6",

```

I’m working on moving branches and repos around but I’ll push a change up for that.

---

<div class="post-metadata">

### Author: ![AndyatFocallocal](https://publichappinessmovement.com/user_avatar/publichappinessmovement.com/andyatfocallocal/32/651_2.png) [@AndyatFocallocal](https://publichappinessmovement.com/u/AndyatFocallocal)
#### Post date: [20 August 2021 11:09 UTC](https://publichappinessmovement.com/t/topic/2631/10 "2021-08-20T11:09:00Z")

</div>

Tagging @zdbrenda and @kentokana. Hopefully we good to go and can get that homepage up now 🙂🕶

Thanks for your good work @tmcnulty

---

<div class="post-metadata">

### Author: ![ludanin](https://publichappinessmovement.com/user_avatar/publichappinessmovement.com/ludanin/32/840_2.png) [@ludanin](https://publichappinessmovement.com/u/ludanin)
#### Post date: [20 August 2021 23:41 UTC](https://publichappinessmovement.com/t/topic/2631/11 "2021-08-20T23:41:39Z")

</div>

This fixes the bug!! The week has ended so I’ll finally have time to work on this haha, I’ll try to have some good results up by Sunday, but in case not I’ll push anything that I have to GH so someone else can continue.

Thanks!!

---

<div class="post-metadata">

### Author: ![AndyatFocallocal](https://publichappinessmovement.com/user_avatar/publichappinessmovement.com/andyatfocallocal/32/651_2.png) [@AndyatFocallocal](https://publichappinessmovement.com/u/AndyatFocallocal)
#### Post date: [21 August 2021 01:08 UTC](https://publichappinessmovement.com/t/topic/2631/12 "2021-08-21T01:08:11Z")

</div>

Great news! Thank you for sticking with it through this unexpected bug 😃
