Open graynun opened 8 years ago
I think it's related with Xcode 8.0 - I downgraded Xcodel to 7.3.1 and reinstalled scrypt npm package and it worked!
I was able to solve this with Xcode 8.0 by installing the Xcode command line tools (CLT).
Running xcode-select --install
in the terminal will open an Xcode CLT GUI installer (assuming they're not already installed). After the installer finishes, run npm rebuild
to rebuild scrypt.
If you have homebrew installed, you can run brew config
to see if the CLT are installed. If they're not installed, you should see output which includes something like:
...
macOS: 10.11.6-x86_64
Xcode: 8.0
CLT: N/A
...
After they're installed, you'll see something like:
...
macOS: 10.11.6-x86_64
Xcode: 8.0
CLT: 8.2.0.0.1.1480973914
...
I use node v.6.6.0 with npm 3.10.3. The install log for scrypt using npm was this;
When I try to run a test super short test code like below, `let scrypt = require('scrypt');
scrypt.params(0.2).then((param)=>{ console.log(param); });`
This error comes up.
I do have libSystem.B.dylib in usr/lib/, so I have no idea why the module fails to binding symbols. Any idea?